hi, i wanted to help anyone who is also having a problem with their dedicated server from webune.

i have a linux dedicated server and once i go this error when i tried to start my apache server in linux:

ERROR:
starting httpd: httpd: apr_sockaddr_info_get() failed for hostname.domain

httpd: could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername


so this is what i did to resolve this:

login to your server as superuser:
then send these commands:

SHELL COMMAND:
echo HOST.DOMAIN.com > /etc/hostname


HOST = Your host name
DOMAIN = Your Domain Name

Now execute the next command in the shell:

SHELL COMMAND:
/bin/hostname -F /etc/hostname



Now that your server has a hostname and a domain name, restart your server with the following command:

SHELL COMMAND:
/etc/init.d/httpd restart



After you have restarted your server, you shouldn't see the error.

NOTE: i tried this on fedora so it might also work on redhat and CentOS, not sure if it will work on debian, ubuntu, caldera or other distributions.

you can help me if you can reply with your comments about your distribution and i can test it to see how i can fix it on your distribution.

thanks