I have commented out the default host and have this setting in my config file if i set it * i get a bunch of overlap warnings as my vhosts.conf file uses the ipaddress not the star i think?

But still get the default site when i try to load site1.computerking.ca

#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
NameVirtualHost 68.146.204.152:80
########NameVirtualHost 68.146.204.152:80



----- Original Message ----- From: "Joshua Slive" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Friday, August 25, 2006 3:12 PM
Subject: Re: [EMAIL PROTECTED] vitual subdomain problems


On 8/25/06, RYAN vAN GINNEKEN <[EMAIL PROTECTED]> wrote:



Using Apache/1.3.34 (Unix) PHP/4.4.2 configured with 4.11-STABLE FreeBSD

I am having trouble creating a subdomain the rest of my virtual sites seem
to work.

THE problem is that everytime i try to view the content for
site1.computerking.ca i get the content from www.computerking.ca which is
the default site.

pretty sure my dns works as i can ping and get the right ip

You're trying to do name-based virtual hosting, which means you don't
want a _default_ virtual host, but you do want a NameVirtualHost
directive.  See:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to