Virtual Hosts don't work with "www"
Barry Margolin
barmar at alum.mit.edu
Mon Feb 19 01:17:55 UTC 2007
In article <eraojl$unk$1 at sf1.isc.org>,
Jarek Buczy?ski <jaro80 at gmail.com> wrote:
> Hello
>
> I have problem with "www", I configured virtual hosts (in this example two
> host1, host2)
>
> It works when I use http://host1.domain.edu, http://host2.domain.edu but
> with "www" doesn't?
>
> At begin I had reverse problem with domain (it works only with "www" ), I
> resolve this added A record to domain (@ A 1.2.3.4)
>
> How resolve problem with virtual hosts?
>
> My zone file:
The zone file looks OK, have you checked your web server configuration
to make sure it has all the names listed in its virtual host settings?
>
> -----------------------------------------------
> $ORIGIN domain.edu.
>
> $TTL 1H
>
> @ IN SOA ns1 admin (
> 2007010101
> 8H
> 4H
> 4W
> 1D
> )
>
> NS ns1
>
>
> ftp CNAME jupiter
> www CNAME @
>
>
> jupiter A 1.2.3.4
> @ A 1.2.3.4
> ns1 A 1.2.3.4
>
> host1 A 1.2.3.4
> host2 A 1.2.3.4
>
>
> -----------------------------------------------
>
> --
> Best regards
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users
mailing list