Alais or Rewrite or ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...
 
 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux