Help - Search - Members - Calendar
Full Version: one domain on two servers
The Planet Forums > System Administration > DNS Hosting
Savery
for example i've got myserverdomainname.com
there are also ns-ervers:
ns1.myserverdomainname.com
ns2.myserverdomainname.com

and 2 servers (all RHEL 3 +CP)
1st.myserverdomainname.com
2nd.myserverdomainname.com

ns1.myserverdomainname.com is on 1st.myserverdomainname.com
ns2.myserverdomainname.com is on 2nd.myserverdomainname.com

myserverdomainname.com delegation is ofcourse ns1 & ns2

myserverdomainname.com zone is on both servers, but physically content of myserverdomainname.com is on 1st server,

now, i would like to put a copy of myserverdomainname.com content on 2nd server that when
1st server will be down, domain will point to 2nd server and page will be always working icon_smile.gif
But how to do this without any problems?icon_smile.gif
DeadTed
This is exactly the same thing I am wanting to do.

Anyone know how to do this ?

Just have a copy of the website with NS3 and NS4 on the second box ?

If the main website box with the site and NS1, NS2 go down will it resolve itself to the second machine and NS3 - NS4 preventing an outage ?
icon_rolleyes.gif
bsykes
You'll need to get a load balancer to do what you are wanting to do efficiently. Alternatively, if you wanted, you could set the TTL on your www record to be a very low number, and if your main webserver went down, you could change the DNS to point to it.
cprompt
QUOTE (bsykes)
You'll need to get a load balancer to do what you are wanting to do efficiently.

Ooh, I just said that in the other thread icon_razz.gif

QUOTE (bsykes)
Alternatively, if you wanted, you could set the TTL on your www record to be a very low number, and if your main webserver went down, you could change the DNS to point to it.

Yes, but... 1) you have to do this manually, so if you're tucked up in bed, it aint going to happen and 2) some ISPs do not honour TTLs properly, in other words, if they have cached the A record in their DNS, they may continue to server this even after the TTL has expired.

I've had some terrible encounters with ISPs screwing around with DNS, caches, proxy servers, content filtering systems etc all of which go against the rules (or spirit) of the internet.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.