Thanks!
That was a case of having tried something -- but having tried it incorrectly, combined with something incorrect having worked in other situations.
I had tried
198.162.0.201 puddleglum.mylocaldomain.com fred.puddleglum lili.puddleglum
That resulted in Apache sending fred.puddleglum and lili.puddleglum both to the puddleglum.mylocaldomain.com home page. (Which, of course, makes sense.) And the form that I had been using, with multiple lines like the example in my original email, works fine for references to other servers, just not to references on the same server. The fact that it works obviously does not mean that it is correct ;-)
So now that I understand to put the complete virtual domain name for each virtual server as an alias things are fine. And my understanding of "alias" is clarified.
Thanks again!!!
Cheers!
Mike Green
On Wednesday 28 May 2003 08:07 am, Ken Schneider wrote:
On Wed, 2003-05-28 at 07:59, Michael D Green wrote:
Hi!
When I add lines like the following to my hosts file on the machine puddleglum:
198.162.0.201 fred.puddleglum.mylocaldomain.com fred.puddleglum 198.162.0.201 lili.puddleglum.mylocaldomain.com lili.puddleglum 198.162.0.201 lulu.puddleglum.mylocaldomain.com lulu.puddleglum
^ ^ - FQDM goes here - aliases here
FQDM = fully qualified domain name.
This is not correct!
something (!?!) comes along behind me and "corrects" these lines (it leaves the other lines alone) to simply:
198.162.0.201 puddleglum.mylocaldomain.com puddleglum
It did this because this is the correct syntax for hostnames.
IP address FQDM aliases (as many as needed seperated by a space)
Ken