httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Troy Moseley" <t...@lambpackaging.com>
Subject [users@httpd] Alais or Rewrite or ???
Date Sun, 14 Jan 2007 13:45:21 GMT
I have a Windows 2000 Server running DNS and have configured it to be it's own name server,
actually both name servers. In Apache 2.0.47 how do I redirect calls to ns1.mydomain,com to
www.mydomain.com? I'm using virtual hosts and have set up my default host as:
 
NameVirtualHost 192.168.0.7:80
 
<VirtualHost 192.168.0.7:80>
ServerName www.mydomain.com
ServerAlias mydomain.com 
DocumentRoot "/Sites/mydomain/public_html"
</VirtualHost>
 
 
Do I use an Alias, a Rewrite, or a Redirect directive?
Thanks...
 
 

Mime
View raw message