Solved

How to setup Second Site Hosing for backup if primary site is down

Posted on 2008-06-16
5
214 Views
Last Modified: 2013-11-19
How do I setup a backup web host where if the primary webhost is down people get redirected to the backup website host?
0
Comment
Question by:fbetag
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:albuitra
ID: 21794290
There are diverses solutions
You can do it with two web servers in a cluster, but this solution only applies when the server fails, but no if the network connection is down
another could be two servers, in diferents locations, and DNS with the two IPs, but you have to syncronice databases, equal logs, etc
0
 
LVL 1

Author Comment

by:fbetag
ID: 21794395
My situation would be two different locations with two IPs.  What records would I need to change? A record? How does it know to forward if one site can not be reached?
0
 
LVL 4

Expert Comment

by:albuitra
ID: 21794504
What do you want exactly ?
Network redundance or Server redundance ?
Ir you wnat network redundance, you can have only one location, with 2 o 3 networks connections with diferent providers and use routers with BGP support
If you have two diferent locations, with diferents IPs, you can set the TTL in DNs to 1 hour, so you can change the IPs in case of network fail to another site
0
 
LVL 1

Author Comment

by:fbetag
ID: 21794674
I wan't people to be able to access my site even if one server at one of the locations goes down. Idealy if one server went down then people would be redirected to the other server at the other location.
I would like this to be automated if possible.
0
 
LVL 4

Accepted Solution

by:
albuitra earned 250 total points
ID: 21794791
If you want it, so you can check for a provider with a Service Level Agreement that guarantee it
If you want to do at home, you may have to use BGP, with two providers, use replication to maintain the syncronization of your web server, deal with DNS with two actives IPs for an A record

Or you can think in something more simple, like to use only one location, with3 networks conections
In DNS, you use www. yourdomain, www1.yourdomain, www2.yourdomain
www.yourdomain = IP in first coneection
www1.yourdomain = IP in second conection
www2.yourdomain = IP in last conecction
and use of linux as router to the 3 connections.
and use 2 web servers, one active, and another in stand by for hardware fails of the first
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now