[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS aliasing



> Sounds like you just want to do a CNAME like this in your otherdomain.com
> zone file:
> 
> bob                     CNAME   alice.somedomain.com.
> 
> People's resolvers should then check with the named in charge of 
> somedomain.com for alice and be sent to wherever it currently resides.

That's the ticket. Contact me offlist for awarding your scholarship to take 
an LPI certification test under Kara's proctorship (date/time/place/etc. TBD).

Note to self:
 1. Ken Hagan gets an ArchLUG LPI Certification Test Scholarship ($25 value).
 2. Put the details on this exciting new program at http://www.archlug.org/

> You shouldn't need mod_rewrite if you just set up named virtual hosting
> on the web server.  Both sites should resolve to the same IP address so
> Apache should simply have named virtual hosts on that IP for both sites.

But then there's two distinct sites. I already know how to setup virtual hosts, 
since I said that.

I wrote:
> In particular, http requests should be able to put up a virtual host for 
> either. mod_rewrite can be used to send one to the other if this isn't needed.

The reason I would use mod_rewrite (or Apache's builtin Redirect directive) is 
if virtual hosts aren't needed, and I want to actually "send" visitors to 
bob.otherdomain.com over to alice.somedomain.com.

This is in the case that you don't want to serve the same content under a
different host name visible in the URL, and if you want users to "know" they
are really visiting alice.somedomain.com and that bob is just a bird dog site.

Mike/

---------------------------------------------
http://www.valuenet.net



-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.