Solved

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

Posted on 2008-06-16
5
217 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

726 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