RE: 1 IP with multiple sites

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

 



I missed part of your question, but keep in mind that when you create a
virtual host, ALL of your sites become
virtual host sites - Meaning you'll need to create a vhost entry for the
original site too. (Main site goes away is the technical term I've heard for
it)

-----Original Message-----
From: Chris Arnold [mailto:carnold@xxxxxxxxxxxxxxxxxxx] 
Sent: Friday, September 07, 2007 10:08 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  1 IP with multiple sites

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



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