You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arthur DiSegna <ad...@authentium.com> on 2005/12/22 03:25:14 UTC

[users@httpd] using 127.0.0.2 for ServerName?

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


Re: [users@httpd] using 127.0.0.2 for ServerName?

Posted by Ron Larson <rl...@yahoo.com>.
Arthur,
Could you please write a single name VirtualHost script for 
hostname is turon-photos.com
IP address is 69.110.41.144

I am still confused. Sorry for being so slow 

Thank you
Ron

--- Arthur DiSegna <ad...@authentium.com> wrote:

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


Sincerley,
Ron Larson
email: rlarson43@yahoo.com
cell: (408) 981-4440

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: [users@httpd] using 127.0.0.2 for ServerName?

Posted by Ron Larson <rl...@yahoo.com>.
Arthur,
Could you please write a single name VirtualHost script for 
hostname is turon-photos.com
IP address is 69.110.41.144

I am still confused. Sorry for being so slow 

Thank you
Ron


--- Arthur DiSegna <ad...@authentium.com> wrote:

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


Sincerley,
Ron Larson
email: rlarson43@yahoo.com
cell: (408) 981-4440

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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