Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache server cant started?

Status
Not open for further replies.

vickr1z

Programmer
Mar 24, 2004
3
PH
Hi all i want is to change my netbios name from localhost to trinity.
what i did was i change my file 'network' under /etc/sysconfig/ and this is the new content:
----
NETWORKING=yes
HOSTNAME=trinity.popdem.org
----

Also i change the ServerAdmin settings in my httpd.conf
---
ServerAdmin root@trinity.popdem.org
---

now i cant start my apache server and i have this error:
[root@trinity vvbuenaventura]# /usr/local/apache/sbin/apachectl restart
[Fri Mar 26 11:21:15 2004] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/apache/sbin/apachectl start: httpd could not be started

BTW im running RH7.3

Does anyone know how I can do this? any suggestions would be greatly apreciated.

Thanks very much

 
Don't change 127.0.0.1 from localhost if that's what you have done. Create a new domain name ( and assign your webservers ipaddress to it in DNS. Then set your servername to the new DNS name in your httpd.conf. When DNS is running you should be able to access the site using the URL that you specified to the DNS server.

Address 127.0.0.1 is reserved for localhost and the loopback connector.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top