Add to Favorites     Most Valuable Member of the Month
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Hardware and Server Configuration > Switch to secondary IP when primary ISP is down
forgot password?


SPONSORED LINKS

Reply


Old
  Post #1 (permalink)   01-06-2009, 08:34 PM
HD Newbie
 
Join Date: Jan 2009
Posts: 1

Status: pcs800 is offline
Hello, I need to set up DNS or whatever it is that does this, to redirect exampleurl.com to a different IP address if the primary is not available. Recently one of my ISP's had a long power outage and my web site, email, message boards were not accessible for over 5 hours.

It would be nice if something detected this and forwarded visitors to another server on a working IP.

Help?
 
 
 


Old
  Post #2 (permalink)   01-06-2009, 11:24 PM
HD Amateur
 
Join Date: Oct 2008
Posts: 62

Status: hzSari is offline
You seems to be considering setting up a secondary server setup, which will take up all the services when the primary goes down ? If it is a automatic switching between two ISP ip's, I suppose you need to talk with the ISP on this matter.
__________________
hzSari | HostingZoom.com
ModVPS.com | ResellerZoom.com
Power Speed Reliability
 
 
 


Old
  Post #3 (permalink)   01-06-2009, 11:49 PM
HD Guru
 
Join Date: Apr 2004
Posts: 702

Status: PVT-Jordan is offline
For the scope of redundancy you're looking for, you're talking about load balancing - which is complex and costly. There are a number of things that you'll have to deal with, such as data sync between servers, handling active user sessions, etc.

If you're looking for a less expensive way to do it, you could setup a cron job to sync the primary server with the secondary server nightly, and if there is a long-term interruption, you can modify your dns to point to the secondary server. (Keep in mind, you would be sending your traffic to a server that would not completely current with the primary server)

Mail is a little bit easier as long as you only want to be able to continue receiving mail - and deliver once the primary is back online. Check out this article on secondary MX for cPanel servers. It's fairly easy.
http://www.techtalkpoint.com/article...-mx-in-cpanel/

Everything I said really only apples if you manage both servers. If you are on a shared account, you would need to discuss your options with your host. If you are truly running a site in need of a high-availability solution, you should probably not be using shared hosting.
__________________
Jordan
ProVista Technologies
 
 
 


Old
  Post #4 (permalink)   01-06-2009, 11:55 PM
HD Newbie
 
Join Date: Jan 2006
Posts: 33

Status: rebelnet is offline
pcs800 - i guess we need more details as well - is this a shared account, how large is the database, files, emails, etc

secondary DNS helps if the issue was primary DNS - but if you have a network outage in the data center - it does not matter and your site wont be accessed --

give us more details and i think i can give you some advice to do this on the cheap side
__________________
Domenic
www.REBELNETWORKS.com
Geek Powered Hosting - Complexity Made Simple
SuperHero 24 | 7 | 365 Support
 
 
 


Old
  Post #5 (permalink)   01-07-2009, 01:06 PM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 478

Status: handsonhosting is offline
It appears you're looking for DNS Failover.

Check out http://www.dnsmadeeasy.com

You can do this yourself (if you have the servers available), but for a small fee, you can use the company listed above to handle it for you.

I have no association with the above URL. I have read many great reviews on them, however I have never used their service.
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Hosting, SSL Certificates, Domain Registration, VPS & Dedicated Servers
Proudly providing hosting to www.HostingDiscussion.com Forums!
 
 
 


Old
  Post #6 (permalink)   01-07-2009, 02:14 PM
HD Guru
 
Join Date: Apr 2004
Posts: 702

Status: PVT-Jordan is offline
DNS Failover only goes as far as sending traffic to an alternative server, which is what the original poster is asking, but I'm not sure if he/she has thought about synchronizing the data on both systems.

Do you already have some sort of synchronization set up, pcs800?
__________________
Jordan
ProVista Technologies
 
 
 


Old
  Post #7 (permalink)   01-07-2009, 09:44 PM
HD Community Advisor
 
handsonhosting's Avatar
 
Join Date: Mar 2005
Location: Omaha, NE
Posts: 478

Status: handsonhosting is offline
Sync'ing the information would probably be the best method, however as a quick solution even putting up a static page to say "we're having trouble, come back soon" is much better than a 404 or non resolving page.

Also - rsync is great for sync'ing up sites (static pages). From a Database end of things, requires a little extra tweaking. The only issue at that point would be after you've gone from "A" to "B", when "A" comes back online, the information must be sync'ed back and can create a nightmare.

Load balanced machines take care of this - and it's even possible to setup load balanacing through multiple data centers.

Personally I'd setup a server with a database only. Then use two other sites/servers to access the database - thus information is always available. Then you just have to make sure that the mysql server doesn't go offline
__________________
Conor Treacy
http://www.HandsOnWebHosting.com
cPanel Hosting, SSL Certificates, Domain Registration, VPS & Dedicated Servers
Proudly providing hosting to www.HostingDiscussion.com Forums!
 
 
 


Old
  Post #8 (permalink)   01-16-2009, 11:12 PM
HD Master
 
Join Date: Jan 2009
Location: India
Posts: 275

Status: engineerroy2008 is offline
Cpanel have some option for this i think so what control panel you are using, DNS failover dependency is very low in many cases
__________________
Server Management & Support to your hosting clients (unlimited tickets and servers) in one monthly fee. **We will harden and monitor your servers + provide direct support to your hosting clients**
 
 
 


Old
  Post #9 (permalink)   01-28-2009, 05:32 PM
HD Master
 
Join Date: Jan 2009
Location: India
Posts: 275

Status: engineerroy2008 is offline
This option mostly fails, its better to go for load balancing solution so that this failiure can be avoided
__________________
Server Management & Support to your hosting clients (unlimited tickets and servers) in one monthly fee. **We will harden and monitor your servers + provide direct support to your hosting clients**
 
 
 


Old
  Post #10 (permalink)   02-03-2009, 03:10 AM
HD Newbie
 
Join Date: Nov 2008
Location: Central Indiana, USA
Posts: 34

Status: MikeDVB is offline
If your site is important enough that you want it online 100% go for a load-balancing setup. If it's not important enough to spring for load-balancing then chances are you'll survive a little downtime.

I'm not trying to be rude here, but you're not going to get what you need for "cheap" or "free" so if your budget isn't reasonable then you will have to find some way to handle downtime that is less expensive but then again not such a great option overall such as manual/automatic DNS failover and manual/automatic data replication usually via CRON.
__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
Shared, Reseller, Semi-Dedicated, VPS, and Dedicated
http://www.mddhosting.com/
 
 
 


Old
  Post #11 (permalink)   02-04-2009, 03:32 PM
HD Newbie
 
Join Date: Dec 2008
Posts: 15

Status: MoEzzi is offline
Quote:
Originally Posted by handsonhosting View Post
It appears you're looking for DNS Failover.

Check out http://www.dnsmadeeasy.com

You can do this yourself (if you have the servers available), but for a small fee, you can use the company listed above to handle it for you.

I have no association with the above URL. I have read many great reviews on them, however I have never used their service.

I second this.. great way to set up redundancy between two servers residing on two separate networks. You can even manage loads with dns roundrobin style.
__________________
EZZI.net - a service of Cinedigm (NASDAQ : CIDM)

A robust network of fail-safe internet data centers.
 
 
 


Old
  Post #12 (permalink)   02-05-2009, 06:04 PM
Fusion-Hosts.com
 
romes's Avatar
 
Join Date: Feb 2007
Location: IL
Posts: 936

Status: romes is offline
Quote:
It appears you're looking for DNS Failover.

Check out http://www.dnsmadeeasy.com

You can do this yourself (if you have the servers available), but for a small fee, you can use the company listed above to handle it for you.

I have no association with the above URL. I have read many great reviews on them, however I have never used their service.
I third this. It is a good way to make sure you have 100% uptime.
__________________
www.Fusion-Hosts.com - Fast Servers - 99.9% Uptime! | FH Blog | Twitter.com/fusionhosts
█XEN Powered VPS! | Fully Managed | 24/7 Ticket Support! | DC in Dallas, TX!
█ZERO Overselling! | Linux and Windows! | Wide list of OS! | Unmanaged Available!
 
 
 


Old
  Post #13 (permalink)   02-11-2009, 01:48 PM
HD Newbie
 
Join Date: Feb 2009
Posts: 26

Status: webhost.uk.com is offline
Quote:
Originally Posted by pcs800 View Post
Hello, I need to set up DNS or whatever it is that does this, to redirect exampleurl.com to a different IP address if the primary is not available. Recently one of my ISP's had a long power outage and my web site, email, message boards were not accessible for over 5 hours.

It would be nice if something detected this and forwarded visitors to another server on a working IP.

Help?
If it was ISP issue (downtime) ..I dont feel even a secondary IP would have helped you in that case.
 
 
 


Old
  Post #14 (permalink)   04-17-2009, 10:18 AM
HD Newbie
 
Join Date: Apr 2009
Posts: 10

Status: sevenl is offline
Quote:
Originally Posted by webhost.uk.com View Post
If it was ISP issue (downtime) ..I dont feel even a secondary IP would have helped you in that case.
I think he might mean a secondary IP at a different location.

100% uptime isn't something that comes cheap. What I will say is that he definitely shouldn't expect 100% uptime in any shared hosting scenario.
__________________
SevenL Networks Inc. - "Power in Choice"
http://www.sevenl.net - Dedicated Server, VPS and Managed Server Hosting
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: