CNAME & Apache
Joseph S D Yao
jsdy at cospo.osis.gov
Fri Nov 24 18:19:40 UTC 2000
On Tue, Nov 21, 2000 at 08:21:34PM -0500, Anthony Ryan Mattke wrote:
> I'm using CNAME records along w/Virtual Hosts in Apache
> and I cant seem to get apache to tell the difference,
> it always sends me to the Virtual Host (admin.iphere.com)
> instead of what i enter(www.iphere.com)
The only DNS advice you need is to upgrade to 8.2.2-P7.
TOTALLY OFF-TOPIC:
Make sure that you are using name-based virtual hosting. This requires
a declaration:
NameVirtualHost 192.168.0.5
followed by your virtual host declarations:
<VirtualHost 192.168.0.5>
# first is default
ServerName www.iphere.com
DocumentRoot /httpd/htdocs
</VirtualHost>
<VirtualHost 192.168.0.5>
ServerName admin.iphere.com
DocumentRoot /httpd/admin
ErrorLog logs/admin-error-log
TransferLog logs/admin-access_log
CustomLog logs/admin-agent_log agent
</VirtualHost>
But none of this has anything whatsoever to do with the BIND software
package, much less DNS. ;-)
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list