?
Solved

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

Posted on 2008-06-16
5
Medium Priority
?
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 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