problems with setup apache and virtual hosts file

Trevor Tregoweth trevor at bitmore.net
Fri Apr 28 15:27:28 UTC 2006


Hi

Yes I did close the virtualhost, and restart apache.

When I go to the web address they both go to the first one

Thanks for the help

Trevor 

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Todd Slater
Sent: Saturday, 29 April 2006 12:54 AM
To: Ubuntu Help and User Discussions
Subject: Re: problems with setup apache and virtual hosts file

On 4/28/06, Trevor Tregoweth <trevor at bitmore.net> wrote:
>
>
>
> Hi All
>
> I am trying to set up apache with virtual host, have created 2 files, with
> the following config, i would really appreciate some help in getting it
> running
>
> OS  Ubuntu  5.10
> Apache/2.0.54
>
>
> lccsa.org.au
> <VirtualHost 202.189.72.35>
>         ServerAdmin webmaster at localhost
>         ServerName www.lccsa.org.au
>         DocumentRoot /var/www/lcc-web/
>
>
>
> intranet.lccsa.org.au
> <VirtualHost 202.189.72.35>
>         ServerAdmin webmaster at localhost
>         ServerName intranet.lccsa.org.au
>         DocumentRoot /var/www/intranet/
>
>
>   Cheers, Trevor

So what happens?

Did you close out the VirtualHost directive with </VirtualHost>?

Did you restart apache?

Todd

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list