Web Hosting Talk







View Full Version : DNS, Nameservers, and Sites


dmitler
06-17-2002, 04:35 PM
Allright, here is the problem. I have my site hosted with one company. Let's call them Company A. I registered my domain with another company. Let's call them The Registrar. I'm considering getting another hosting account with one or two other hosts (Companies B and C).

My site with Company A has gone down once or twice, and I want to be prepared in case it goes down again. Let's say now that I've signed up for hosting with Company B, and inputed their nameservers into The Registrar as nameservers 3 and 4.

If my site with Company A goes down, would users automatically be forwarded to nameservers 3 and 4 - my site with Company B?

Also, what would I include on that site, because a lot of my site comes from a database, and so if it's down, I can't call it. It would be too much work to update both databases everytime there is a change.

HELP!!

Thanks in advance

ToastyX
06-17-2002, 05:53 PM
Originally posted by dmitler
Allright, here is the problem. I have my site hosted with one company. Let's call them Company A. I registered my domain with another company. Let's call them The Registrar. I'm considering getting another hosting account with one or two other hosts (Companies B and C).

My site with Company A has gone down once or twice, and I want to be prepared in case it goes down again. Let's say now that I've signed up for hosting with Company B, and inputed their nameservers into The Registrar as nameservers 3 and 4.

If my site with Company A goes down, would users automatically be forwarded to nameservers 3 and 4 - my site with Company B?

Name servers are not used in sequential order, so there's no way to figure out which site your users will see. Plus, users that have recently visited the site hosted by Company A will still have Company A's IP address cached, even if Company A is down. Other users will see the site hosted by Company B or Company C.

Also, what would I include on that site, because a lot of my site comes from a database, and so if it's down, I can't call it. It would be too much work to update both databases everytime there is a change.

HELP!!

Thanks in advance

You'll have to keep the databases synchronized somehow by either exporting and importing everytime you make a change or figuring out a way to do that automatically. How that can be accomplished depends on the server software and what kind of database you're using.