Greg Sabino Mullane on Fri, 22 Feb 2002 12:30:17 +0100 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >Everything I read talks about using CNAMES when doing virtual hosting. I >cannot seem to get this to work and I do not fully understand it. > ... > >So my question is.. is this an alright way to do it? Why do I need CNAMES? You don't. CNAMES are an unnecessary construct of DNS. Just point the domain to the IP it belongs to, and save everyone some work. Once your nameserver has pointed someone (the client) to the IP of your box (the server); it is up to the software listening on each port of the server to figure out what domain is actually being requested. For email, your mail program simply reads in the values from RCPT TO entries. For the web, the client is supposed to send a "Host: www.example.com" header, which Apache (or other) can then recognize as a virtual domain. obHumor: Quote from the first line of the job posting referenced in the thread 'UD job opening - act quick!': "Bachelor's degree or MCSE,"... What a world, what a world... :) Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200202220631 -----BEGIN PGP SIGNATURE----- Comment: http://www.turnstep.com/pgp.html iD8DBQE8dixSvJuQZxSWSsgRAp00AJ9AAnZLhWCrbu4oYPVzw/ZDTfADawCgvb3C T/r6lLpYYb7bKfqegnj4qP4= =S0N5 -----END PGP SIGNATURE----- ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|