Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 16:32:21 -0600
From:      Eric Long <eric@metrotv.com>
To:        "Gerardo Amaya G." <jogegabsd@yahoo.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Virtual Host
Message-ID:  <B8199E95.532F%eric@metrotv.com>
In-Reply-To: <20011115222752.15925.qmail@web20102.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> NameVirtualHost *
> 
>     <VirtualHost *>
>      DocumentRoot /www/domain
>      ServerName www.domain.com
>      ...
>      </VirtualHost>
>                 
>     <VirtualHost *>
>      DocumentRoot /www/other
>      ServerName www.other.domain.com
>      ...
>      </VirtualHost>
>                
> Ans restarted my web server, But I can not get to the
> other.domain.com. I guess is something with DNS.
> What is that I should do to make it work???

Does www.other.domain.com point to the web server that you are trying to
host it on?

% host www.other.domain.com

Does it point to the IP that is bound to the box?  If not, then it's a DNS
issue, which apache has no control over.  You'll need to add an address
record for the hostname of www.other.domain.com.  Do you host the DNS for
the domain?

-Eric


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8199E95.532F%eric>