[GLLUG] 3 websites, 1 IPaddress + backup server

Seth Bembeneck sbdataspiller at sbcglobal.net
Mon Feb 2 17:26:46 EST 2004


Thanks to all for your replies... I took a look at easydns.com and will
probably go that route.

How do I configure apache to serve a different web site for each domain?
www.web1.com should be a different web site then www.web2.com

Thanks again,
Seth Bembeneck
sbdataspiller at sbcglobal.net

           ^
        (0 0)
--(((---v---)))----



-----Original Message-----
From: Rich Clark [mailto:rrclark at rrclark.net] 
Sent: Monday, February 02, 2004 12:12 PM
To: Jeremy Bowers
Cc: Hampton, Rodney; 'Seth Bembeneck'; GGLUG
Subject: Re: [GLLUG] 3 websites, 1 IPaddress + backup server


On Mon, 2 Feb 2004, Jeremy Bowers wrote:

> Hampton, Rodney wrote:
> > Agree with you Rich.  You _can_ cheat if you have 2 ip addresses.  
> > In
> > theory, you should have the authoritative primary and secondary DNS 
> > servers for your domain on different networks.  In practice you merely 
> > need to have 2 unique ip addresses and I've even run both ip addresses 
> > off the same box (though this is a really risky practice).  So you don't

> > really need someone else to host the secondary authoritative DNS.
> 
> Some registrars are now accepting one IP address for DNS alone, I 
> think,
> but I'm not certain and I don't care to futz with my working setup on 
> Dotster to check ;-)
> 
> Another trick I've used before then (that's a recent development) is 
> to
> register two domain names. Each domain name gets a nameserver, 
> "ns1.domain.com" and "ns1.domain2.com", pointing at the same IP. Then, 
> for each domain, say the two nameservers are "ns1.domain.com" and 
> "ns1.domain2.com". Expensive unless you already own multiple (as I was), 
> but at least Dotster was only checking for two different name server 
> names, not actual IPs.
> 
> When your "domain" is only one IP anyhow, if the single DNS server 
> goes
> down, most likely the entire domain is down anyhow...

Ideally, what Rodney's said about having backup dns on a separate network 
in another location than your primary is simply basic fault tolerance 
planning; if one nameserver goes down, the whole network doesn't become 
unresolvable due to the outage.

In actuality, though, for the whole thing to work, only one nameserver needs
to be identified as authoritative for any given zone.  Registrars ask for
more than one nameserver to help promote failure tolerance; however, if you
only provide one nameserver, things will work.

Rich
-- 
   PENGUICON v2.0 - Detroit Sheraton Novi - April 16-18, 2004
Guests: Neil Gaiman, Jeff Bates, | Combo SF/Fantasy & Linux Expo
Steve Jackson, Wil Wheaton,      | Tech, Fen & Combination Programs
John "Maddog" Hall, many others  | LARP, Gaming, Dance, Masq, Hucksters
       h t t p : / / w w w . p e n g u i c o n . o r g 
   TINLC Unit #2309 - Death to all spammer accounts. - WWSB?





More information about the linux-user mailing list