Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am running Apache on WinXP. I am hosting only one site and wish to set it up to virtual host another site. I want to use Name virtual hosting because I only have one IP. I have tried to configure it for days but I just get taken back to my main site when I enter the other sites url.
I have my site...lets call it www.site.com which is setup as my DNS Host and I have made www.other.site.com a DNS Alias. I use the DNS services of no-ip.com
When I go to www.other.site.com, I get the same page as when I go to www.site.com.
In the config file I have set the servername in Section 2 to:
ServerName www.site.com
I have the following in section 3:
NameVirtualHost *:80
<VirtualHost *>
ServerName www.site.com
DocumentRoot /AppServ/www
ServerAlias site.com
</VirtualHost><VirtualHost *>
ServerName other.site.com
DocumentRoot /AppServ/www/other
ServerAlias www.other.site.com
</VirtualHost>Thanks,
REMGU

![]() |
Javascript download menu ...
|
Php form problem (non sta...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |