httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil A. Hillard" <neil.hill...@agustawestland.com>
Subject Re: [users@httpd] More virtualhost with the same Pubblic Ip
Date Tue, 04 Sep 2007 14:25:32 GMT
Hi,

netmail wrote:
> Hi
> 
> I want configure apache with this site :
> 
> http://Thidlevel.mydomain.com à DNS entry Ok from Pubblic Ip XXX.XXX.XXX.XX1
> 
> http://Test.mydomain.com à DNS Entry ok from the same Pubblic Ip
> XXX.XXX.XXX.XX1
> 
> http://Mywebserver/intranetsite from intranet
> 
>  
> 
> When I configure the virtualHost with the third level domain
> 
> VirtualHost IP:port>
>     DocumentRoot /var/www/mydomain/thirdlevel
>     ServerName IP
>     ErrorLog <ErrorLog file path>
>     CustomLog <AccessLog file path>
> </VirtualHost>
> 
>  
> 
> the http://Mywebserver/intranetsite don’t work and receive the message
> that don’t found the page etc… Why ?

You may find a lack of responses to your question.  Firstly, you will
want to post in plain text format _only_.  Secondly you should include
the exact error message and not your interpretation of it (along with
anything that appears in the error log).

My suspicion is that you have the incorrect ServerName directive.  The
clue is in the name - 'Name'.  Your config snippet has 'ServerName IP'.
 You should not specify the IP address here.

Please refer to
http://httpd.apache.org/docs/2.2/mod/core.html#servername for the
documentation for the ServerName directive.


				Neil.

-- 
Neil Hillard                    neil.hillard@agustawestland.com
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.

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