Are you a Google Analytics enthusiast?
More SEO Content
301 Redirect For Website Redundancy
Posted 21 February 2009 - 10:50 AM
I have two servers and a few websites.
If a website goes down for whatever reason I would like to get it up as quickly as possible.
Using a 301 redirect on the main domain to a sub-domain:
example.com → website_on_server1.example.com
and then if the the web site goes down changing where the 301 redirect is pointing:
example.com → copy_of_website_on_server2.example.com
Each of the sub-domains would be on different servers. This would safeguard against one of the servers dying.
To ensure that search engines didn't see any duplicate content I would use either the robots.txt file on the copy of the website (on server 2) or the new canonical url tag.
If I did this would there be any significant penalty from the search engines?
Would there be a minor penalty from using a 301 redirect?
Posted 21 February 2009 - 12:30 PM
Long story short...
You don't want to do it that way and in fact can't do it that way using a 301 solution. The crux of the issue being that the 301 would in essence need to be implemented on the original server, and if the original server is dead it would not be alive to deliver the 301.
What you'd want to do instead if set up what is commonly known as a round robin DNS, where the nameservers point to two different servers. So if the first server being pointed to by the nameservers were dead the domain would automatically swtich to the second server. As a bonus, this sort of setup doesn't require any special use of subdomains, nor does it result in any duplicate content issues.
Posted 23 February 2009 - 08:29 PM
Thanks for the reply.
I'll have to look in to this as I haven't done it before. I'll let you know how I get on.
Posted 23 February 2009 - 09:29 PM
Posted 15 March 2009 - 08:32 PM
I had a look at the price of content switches and they were quite expensive (it's all relative I suppose though). Thanks for the suggestions though!
Posted 23 March 2009 - 06:35 AM
You could also have some generic problems that will redirect via a 302 to your backup server, I would NOT reccomend a 301 for this purpose... your essentially saying the backup is now the primary, then you won't be able to use the 1st server as a backup (imagine them ping ponging back and forth!)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users