Wallpapers Forums Login

How To Fix: Could not determine the server's fully qualified domain name

I am getting this error everytime I try to restart my apache server. i have a dedicated server for my wallpaper website and im able to login to my fedora/redhat server through my ssh shell, but i get this when i try to restart my server for some reason i can't figure and my wallpaper website is down. this is what i get when i execute the commnad:

CODE:
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


how can i fix this?
Rajesh Thu May 03, 2012
use this in UR httpd.conf file ServerName 127.0.0.1
saly Tue Jan 10, 2012
Pls can you list what command should be in hosts file I have trixbox with cent5.5 operating system
winzter143 Mon Oct 03, 2011
Whats wrong ip? the loppback ip(127.0.0.1)?
casi Mon May 09, 2011
you shouldn't put any name that you want, depending on your DNS settings, it will not route traffic correctly.
apple23 Mon May 09, 2011
Hello, I have a question, Do I have to put my hostname in ServerName or I can put any name that I want?
rassloff Wed Apr 20, 2011
127.0.0.1 localhost
123.123.123.123 hostname.domain.de hostname


ray Thu Jan 27, 2011
thanks. cool!
Phil Sat Dec 25, 2010
The fix is to edit the conf file and add in the ServerName setting (as the error message requests). In other words,

sudo vi /etc/apache2/httpd.conf

by adding the following string:,

# ServerName is to be specified to avoid warning during reload
ServerName MYSERVER
guzzy Fri Jul 13, 2012
great,, that fix my problem thanks
Miture Sat Sep 04, 2010
I had the wrong IP address in my /etc/hosts file, removing that fixed it for me.
sekhar Sun Aug 15, 2010
just go to httpd.conf file

open it and add a new line i.e.

servername your-server-name

save it and restart the httpd service
shane Fri Aug 10, 2012
Nice post it solved my problem
Vlad Tue Aug 03, 2010
add ServerName YOURSERVERNAME to httpd.conf

add 127.0.0.1 YOURSERVERNAME SHORTNAME to /etc/hosts

restart apache
NISHANT Tue Jul 27, 2010
Hi
uncoment or add following line in httpd.conf

ServerName example dot com :80
James Wed Jul 21, 2010
In your /etc/hosts file make sure the fully qualified domain name is listed first. i.e.:

127.0.0.1 localhost.localdomain localhost

NOT

127.0.0.1 localhost localhost.localdomain
Kiran Fri Apr 02, 2010
Hi

Please check whether you have the network part configure perfectly in /etc/hosts, /etc/sysconfig/network . You should provided your ip address hostname.domainname hostname in /etc/hosts.

Kiran
rahma Tue Mar 02, 2010
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
I want the answer now

Related Content

Information

Share

wallpaperama | Wallpapers | Forums | Terms Of Service

copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5