You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sn...@cob.org on 2006/11/30 17:59:19 UTC
[users@httpd] Could not reliably determine FQDN
I have the servername directive in my virtualhosts config file, but am
still getting the following error:
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.1 for ServerName
I did some Googling on this and someone mentioned I might have to enter a
servername directive in the httpd.conf file or I'll continue to get this
error.
I'm using the following configs:
<<<httpd.conf>>>
Listen *:80
ServerRoot "c:/Apache2"
Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-ssl.conf
<<<httpd-vhosts.conf>>>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain.org
ServerAlias domain.org
DocumentRoot "c:/Apache2/domain"
<Directory "c:/Apache2/domain">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerName www.domain2.org
ServerAlias domain2.org
DocumentRoot "c:/Apache2/domain2"
<Directory "c:/Apache2/domain2">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<<<httpd-ssl.conf>>>
Listen *:443
<VirtualHost *:443>
ServerName www.domain.org:443
ServerAlias domain.org
DocumentRoot "c:/Apache2/httpsdoc"
<Directory "c:/apache2/httpsdoc">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
*****************************************************************
Thanks in advance for any pointers you can send my way.
____________________________
Steven Niedermeyer
Bellingham, WA
---------------------------------------------------------------------
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
[users@httpd] Re: Could not reliably determine FQDN
Posted by sn...@cob.org.
This appears to have worked. Thanks Joshua!
____________________________
Steven Niedermeyer
Bellingham, WA
"Joshua Slive"
<jo...@slive.ca>
Sent by: To
jslive@gmail.com users@httpd.apache.org
cc
11/30/2006 12:04 Subject
PM Re: [users@httpd] Could not
reliably determine FQDN
Please respond to
users@httpd.apach
e.org
On 11/30/06, sniedermeyer@cob.org <sn...@cob.org> wrote:
>
> I have the servername directive in my virtualhosts config file, but am
> still getting the following error:
>
> httpd.exe: Could not reliably determine the server's fully qualified
domain
> name, using 192.168.1.1 for ServerName
>
> I did some Googling on this and someone mentioned I might have to enter a
> servername directive in the httpd.conf file or I'll continue to get this
> error.
Just put
ServerName www.domain.org
in httpd.conf outside any <VirtualHost> section. It won't do
anything, since all your requests are mapped to vhosts, but apache
doesn't have any easy way to figure that out, so it wants something to
use by default. (Or just ignore the warning; it doesn't do any harm.)
Joshua.
---------------------------------------------------------------------
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] Could not reliably determine FQDN
Posted by Joshua Slive <jo...@slive.ca>.
On 11/30/06, sniedermeyer@cob.org <sn...@cob.org> wrote:
>
> I have the servername directive in my virtualhosts config file, but am
> still getting the following error:
>
> httpd.exe: Could not reliably determine the server's fully qualified domain
> name, using 192.168.1.1 for ServerName
>
> I did some Googling on this and someone mentioned I might have to enter a
> servername directive in the httpd.conf file or I'll continue to get this
> error.
Just put
ServerName www.domain.org
in httpd.conf outside any <VirtualHost> section. It won't do
anything, since all your requests are mapped to vhosts, but apache
doesn't have any easy way to figure that out, so it wants something to
use by default. (Or just ignore the warning; it doesn't do any harm.)
Joshua.
---------------------------------------------------------------------
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