httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] vitual subdomain problems
Date Fri, 25 Aug 2006 21:12:44 GMT
On 8/25/06, RYAN vAN GINNEKEN <luck@computerking.ca> 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message