Re: More virtualhost with the same Pubblic Ip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux