Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 10:53:45 -0500
From:      Albert Everett <freebsd@webintl.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: http configuration - dns?
Message-ID:  <a05100301b7db9eeeae22@[192.168.123.20]>
In-Reply-To: <xSZI3DBRyet7Ewbf@caomhin.demon.co.uk>
References:  <4.2.2.20010929104739.00a3f930@popd.betan.net> <1647929271.20010929165807@e-box.dk> <xSZI3DBRyet7Ewbf@caomhin.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
What about dns?

>In message <1647929271.20010929165807@e-box.dk>, S=F8ren Neigaard
><neigaard@e-box.dk> writes
>>Saturday, September 29, 2001, 4:50:26 PM, Walter wrote:
>>
>>WB> All,
>>
>>WB> I want to configure apache to respond
>>WB> to    www.AnyDomain.com   and  AnyDomain.com
>>
>>WB> - with and without  the www.
>>
>>WB> can some one help me on this.
>>
>>In httpd.conf do:
>>
>>NameVirtualHost YOUR_IP_HERE
>>
>><VirtualHost YOUR_IP_HERE>
>>     ServerName AnyDomain.com
>></VirtualHost>
>>
>><VirtualHost YOUR_IP_HERE>
>>     ServerName www.AnyDomain.com
>></VirtualHost>
>
>Just a personal taste thing but look into aliases as well:
>
><VirtualHost YOUR_IP_HERE>
>     ServerName AnyDomain.com
>     ServerAlias www.AnyDomain.com
></VirtualHost>
>
>You can include UseCanonicalName to play with how the domain appears to
>visitors, http://httpd.apache.org/docs/ will tell you more.
>
>Kevin
>--
>kevin@caomhin.demon.co.uk
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message


-- 
-----------------------------------------------------------------------
Albert Everett - Web International, Inc.
<freebsd@webintl.com>

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?a05100301b7db9eeeae22>