• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » IP Canonicalization : Details and How To

By Abhishek Ghosh July 14, 2014 5:17 pm Updated on July 14, 2014

IP Canonicalization : Details and How To

Advertisement

IP Canonicalization means if the domain is hosted on a Dedicated or Cloud Server or has a Dedicated IP, browsing with IP should be disabled. Possibly there is some positive SEO value as said by Woo Rank. We talked about Canonical URLs many years ago, it is indeed nothing new topic. But IP Canonicalization has more to do with server side configuration – although, we can do a 301 redirect to fix the issue.

 

IP Canonicalization : Why the Hell Server Backend Comes to Play?

 

At this point, it is important to read Why We Get Non-Authoritative Answer on NS Lookup. The extra money charged by Rackspace Managed service covers many small points, which honestly those WordPress Managed Hosting will never know. Recall what we said about Recursive DNS. For example; in case our website to setup our name server properly; we should setup the NS to :

Vim
1
2
ns1.thecustomizewindows.com
ns2.thecustomizewindows.com

Doing a 301 redirection from IP to domain name is a cheaper fix. It is mandatory to rightly configure all the elements from backend in an ideal setup. Like we said in the article on Time to Live or TTL; we should run this command :

Advertisement

---

Vim
1
2
~  nslookup -type=A -debug google.com
# replace google.com with your domain

to check if everything is fine. If there is authoritative answer, there is practically no need of IP Canonicalization by any modern web crawler. Crawlers understand that the IP address is of a loadbalancer and frankly never index it. Here is a demonstration of odd behavior due to wrong setup by Hostgator (at 14 dollar what one can expect to get) :

IP Canonicalization

Vim
1
2
3
4
5
https://dr.abhishekghosh.net/
# my real website is located at
# http://dr.abhishekghosh.net/
# it is redirecting to
# https://freehealthfoundation.org/

There are hundred of odd things that happen with Bluehost, Greenhost, Hostgator, Meateater, RedHost and hundreds of such cPanel based hosting services. So practically, the IP Canonicalization is needed for the domain https://freehealthfoundation.org – you can see in you own eyes, the results are funny and misleading.

 

IP Canonicalization : Easy Cheat to Fix

 

Actually this cheat is not a great fix because it does not addresses many other deeper things which might not be right. So, this is the cheap cheat to add these on .htaccess file :

Vim
1
2
3
4
RewriteCond %{HTTP_HOST} ^XXX.XXX.XXX.XXX
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
# change XXX.XXX.XXX.XXX
# change www.yourdomain.com

But, in case you have multiple servers and loadbalancer in front, what you will do? there will be at least two IP address through which your website can be accessed, indeed; on Cloud based setup, it is actually more than 4 dedicated IP addresses!

In these case, only the loadbalancer’s IP should be included in .htacess rule like written above, other IP should point to homepage as 301 redirect from Apache configuration file. Actually, leaving the IP address accessible for some time gives some back links too.

Tagged With IP Canonicalization , Canonicalize your IP address cpanel , cpanel ip canonicalization
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to IP Canonicalization : Details and How To

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Installing cPanel on Rackspace Cloud Server : Step by Step Guide

    Installing cPanel on Rackspace Cloud Server is very easy. By default Rackspace Cloud VPS has no Control Panel. Here is is a guide on how to install cPanel on Rackspace Cloud Server.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy