[users@httpd] using 127.0.0.2 for ServerName?

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

 



Hello,  (I aplogize if this is not in text mode. I am using OWA)
 
I setup my conf file to use name based virtual hosting. I have a single IP bound to the interface hosting two websites. When I start apache in debug mode I get this error. I added two host records vhost1 and vhost2 to point to 192.168.0.1 on my internal DNS for testing (host headers). From inside the network I can ping the FQDN vhost2.mydomain.com & vhost1.mydomain.com.
 
ERROR:   httpd: Could not determine the server's fully qualified domain name, using 127.0.0.2 for ServerName

	Here is a cut out of the setup.
	 
	NameVirtualHost 192.168.0.1
	<VirtualHost 192.168.0.2>
	  DocumentRoot "/var/webroot/pw/"
	  ServerName vhost2.mydomain.com
	</VirtualHost>
	 
	<VirtualHost 192.168.0.1>
	DocumentRoot "/var/webroot/enc/"
	ServerName vhost1.mydomain.com
	  <Location /ISSX>
	      Options Indexes FollowSymLinks
	      AllowOverride None
	      Order deny,allow
	      Allow from all
	  </Location>
	</VirtualHost>
	 
	Thanks in advance

<<winmail.dat>>

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