Re: 1 IP with multiple sites

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

 



OK, i am sure i am doing something wrong now b/c when i make 1
NameVirtualHost in vhost.d/, it applies to all sites. Meaning, any site
you try to go to leads you to this new vhost site. Again, here is what i
have done, step-by-step:
-create a vhost file with these contents:
 --| NameVirtualHost *:80

<VirtualHost *:80>
ServerName demo.domain.tld
ServerAlias domain.tld demo.domain.tld
DocumentRoot /srv/www/htdocs/folder
</VirtualHost>

-Stop and start apache2--no errors or warnings

Thats it and it takes over www.domain.tld (from outside and inside the
lan). Tried IE and firefox2. What gives?

Chris
|

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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