Virtual Hosts don't work with "www"

Jarek Buczyński jaro80 at gmail.com
Mon Feb 19 15:09:31 UTC 2007


Ok. Once again:

dig www.domain.edu - working
dig domain.edu - working

dig host1.domain.edu - working
dig host2.domain.edu - working

dig www.host1.domain.edu - doesn't work
dig www.host2.domain.edu - doesn't work

working - means dig can resolev domain to IP

> dig will find whatever BIND serves from its zone file. If there's no entry
> for www.xx in your zone file,  don't expect dig to find it.

So I changed

-----------------------------------------
host1	A       1.2.3.4
host2	A       1.2.3.4

to

www.host1	A       1.2.3.4
www.host2	A       1.2.3.4
-----------------------------------------

And now is good :-) 

dig www.host1.domain.edu - working
dig www.host2.domain.edu - working

Sorry, I don't understand earlier your suggestion with www.xx

Thanks all very much

--
Best regards




More information about the bind-users mailing list