Re: [users@httpd] multiple vhosts on port 80 and port 443

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

 



Ok, maybe now I'm getting what you mean:

I kept the configs as they are, but changed my apache2.conf to

NameVirtualHost test-dom:80
NameVirtualHost test-dom:443

and I've changed my VHosts all the (abbreviated)

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName test-dom

....

<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        ServerName test-dom

....

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName test-clue

....

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName test-ltc

....

If I understand you right, this is what you mean, and this also should be what he docs say.

However, I'm still getting the folowing warning:

dekold4712:/etc/apache2/sites-available# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2apache2: Could not determine the server's fully qualified domain name, using 10.170.202.5 for ServerName
apache2: Could not determine the server's fully qualified domain name, using 10.170.202.5 for ServerName

I've specified in my /etc/hosts the following:

10.170.202.5    test-dom      dekold4712.xxx.com        localhost       dekold4712
10.170.202.5    test-ltc        dekold4712.xxx.com        localhost       dekold4712
10.170.202.5    test-clue      dekold4712.xxx.com        localhost       dekold4712

and I can ping test-dom, test-ltc, test-clue, therefore I figure that the above warning can't be connected to some dns-resolution but to the configs, but where?

Greg

--
what's puzzlin' you, is the nature of my game
[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