You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Wes Hegge <wh...@charter.net> on 2003/01/13 17:31:15 UTC

[users@httpd] VirtualHost Problem - was 2 Problems

I have solved the original prblems I was having with 
getting Apache to start without errors.  Now I cannot get 
it to do NmaedVirtualHosts.  I have 2 websites setup.  The 
first is www.signalblast.com, the second is www.test.com. 
 I have just left Apaches default web page on both sites, 
but edited www.test.com to have a different title.  When I 
go to www.signalblast.com I get the standard Apache 
default page.  If I goto www.test.com, I get the standard 
Apache default page again.  I have tried refresh and 
restarting my browser and going to www.test.com first, no 
luck.  Here is my httpd.conf as it stands now:

NameVirtualHost 172.20.3.4

<VirtualHost 172.20.3.4>
    ServerName www.signalblast.com
    ServerAdmin webmaster@signalblast.com
    DocumentRoot "/var/www/html"
</VirtualHost>

<VirtualHost 172.20.3.4>
    ServerName www.test.com
    ServerAdmin webmaster@signalblast.com
    DocumentRoot "/var/virtualdomains/test"
</VirtualHost>

Any ideas?

TIA

Wes Hegge

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


Re: [users@httpd] VirtualHost Problem - was 2 Problems

Posted by Jonathan Laberge <jl...@redboxstudios.com>.
On 1/13/03 11:31 AM, "Wes Hegge" <wh...@charter.net> wrote:

> I have solved the original prblems I was having with
> getting Apache to start without errors.  Now I cannot get
> it to do NmaedVirtualHosts.  I have 2 websites setup.  The
> first is www.signalblast.com, the second is www.test.com.
> I have just left Apaches default web page on both sites,
> but edited www.test.com to have a different title.  When I
> go to www.signalblast.com I get the standard Apache
> default page.  If I goto www.test.com, I get the standard
> Apache default page again.  I have tried refresh and
> restarting my browser and going to www.test.com first, no
> luck.  Here is my httpd.conf as it stands now:
> 
> NameVirtualHost 172.20.3.4
> 
> <VirtualHost 172.20.3.4>
>   ServerName www.signalblast.com
>   ServerAdmin webmaster@signalblast.com
>   DocumentRoot "/var/www/html"
> </VirtualHost>
> 
> <VirtualHost 172.20.3.4>
>   ServerName www.test.com
>   ServerAdmin webmaster@signalblast.com
>   DocumentRoot "/var/virtualdomains/test"
> </VirtualHost>
> 
> Any ideas?
> 
> TIA
> 
> Wes Hegge
> 
> ---------------------------------------------------------------------
> 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


I know this might sound stupid but did you restart your apache server?
-- 
Conception, art visuel, multimedia et internet

Jonathan Laberge
jlaberge@redboxstudios.com

Les Studios RedBox inc.
9643 boul. LaSalle
LaSalle (Québec)
Canada H8R 2N7

www.redboxstudios.com

514 368 3962 bur/off
514 368 9212 tel/fax
514 865 2554 cell/mob



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