Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-22-2006, 04:42 AM   #1
cheekycherry
Confirmed User
 
Join Date: Feb 2002
Location: N/A
Posts: 1,703
Newbie server/nameserver question

I have a dedicated server. I want as close to 100% uptime for my sites as possible (they are important).

If I make identical sites but put them on a different server with a different host, can I make it so that if my main server goes down, the secondary server with the different host just carries on serving my pages? So the customer will see no downtime?

It got me thinking, you know the nameservers you register with your domain names? Well, both I have specified are pointing to the same machine.

If this can be done, can it be done simply by specifying the second server as either the second or third entry in the DNS where I registered the domain name?

This is probably really obvious to most. Sorry if it's newbish. When it comes to server stuff, I am newbie. Or maybe I haven't explained myself properly (not really knowing the jargon)

Any help is much appreciated!
cheekycherry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 04:45 AM   #2
X37375787
Guest
 
Posts: n/a
I don't think it can be done on the DNS side. Your domain and its subdomains have zone entries that point to an IP, and that is static for the most part. You could install some sort of load sharing across several servers, so in case one goes down, the others can take over the requests.

I might be wrong though.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 04:46 AM   #3
X37375787
Guest
 
Posts: n/a
The DNS entries at your domain name registrar are there to provide redundancy in case the primary DNS server goes down. This way your domain name will still resolve properly.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 04:51 AM   #4
cheekycherry
Confirmed User
 
Join Date: Feb 2002
Location: N/A
Posts: 1,703
Quote:
Originally Posted by Equinox
The DNS entries at your domain name registrar are there to provide redundancy in case the primary DNS server goes down. This way your domain name will still resolve properly.
Thanks for replying to me.

Both DNS entries I have made are pointing to my server. But on different IP's I think.

Does this need changing then? (to acomplish the goal of ensuring as little downtime as possible)
cheekycherry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 04:54 AM   #5
X37375787
Guest
 
Posts: n/a
Quote:
Originally Posted by cheekycherry
Thanks for replying to me.

Both DNS entries I have made are pointing to my server. But on different IP's I think.

Does this need changing then? (to acomplish the goal of ensuring as little downtime as possible)

Do you run your own DNS then, I assume? Usually, the DNS servers should be on seperate C class IP blocks, running your own DNS on your own server with two dedicated IPs is risky. If your server goes down, both DNS servers will go down the shitter with it, there is no redundancy and any other domains that you may have configured on your DNS server won't resolve as a result of that.

I am not sure what you mean though, do you want uptime on the DNS side or ensure uptime on the server side? DNS servers should rarely go down, your host should take care of that for you.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 05:05 AM   #6
cheekycherry
Confirmed User
 
Join Date: Feb 2002
Location: N/A
Posts: 1,703
Like I said, I'm a newb I've paid others take care of all this stuff for past 5 years, god only knows why I'm taking it on now.

Ok... Without letting the masses know my IP's etc.

Here is what it looks like:

ns1.myservername.hosthead.com
ns2.myservername.hosthead.com

The IP's are all just one number apart (the last digit).

So for example, my server ip is ***.**.**.**1
Firstnameserver IP is same numbers ***.**.**.**2
second nameserver ***.**.**.**3

And it looks like they are all my IPs...

I guess that sucks huh?
cheekycherry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 05:41 AM   #7
RobbieRye
Registered User
 
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
There are a couple of ways to do this.

If you'd like to rely on DNS to handle events, it is possible to create zones that will act as a round robin.

However, if your 2 servers are located with 1 hosting company, then you could do this on the router level and institute a failover procedure.

Also, third party DNS providers such as this one: http://www.ultradns.com/services/sitebacker.cfm provide you with an easy to use and easy to manage method of reducing downtime.

However, if you really need 100% uptime, I highly suggest getting the help of a qualified sysadmin that you trust and then make these decisions together.
RobbieRye is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 09:24 AM   #8
Brad Mitchell
Confirmed User
 
Brad Mitchell's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Southfield, MI
Posts: 9,812
Use a third party service for DNS like ULTRADNS and make sure you have a short TTL. You could probably use their service to divide the traffic between two hosts and then if one host was down login and change out the DNS settings that point to the offline host.

Brad
__________________
President at MojoHost | brad at mojohost dot com | Skype MojoHostBrad
71 industry awards for hosting and professional excellence since 1999
Brad Mitchell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 09:28 AM   #9
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,676
Quote:
Originally Posted by RobbieRye
There are a couple of ways to do this.

If you'd like to rely on DNS to handle events, it is possible to create zones that will act as a round robin.

However, if your 2 servers are located with 1 hosting company, then you could do this on the router level and institute a failover procedure.

Also, third party DNS providers such as this one: http://www.ultradns.com/services/sitebacker.cfm provide you with an easy to use and easy to manage method of reducing downtime.

However, if you really need 100% uptime, I highly suggest getting the help of a qualified sysadmin that you trust and then make these decisions together.

Exact. All previous answers were non relevant.

Round Robin, setup NS on both machines and add an " exterior " NS such as above or zoneedit.com.

To make it even better, get the second server in another geographical location, as Europe ... and no, I don't offer servers there ... at least yet.

Good luck.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2006, 11:12 AM   #10
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
contact the people at www.daemon.be.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-23-2006, 02:35 AM   #11
cheekycherry
Confirmed User
 
Join Date: Feb 2002
Location: N/A
Posts: 1,703
Thanks for all your replies, very helpful. I believe I will be able to find a solution now.
cheekycherry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.