Your httpd.conf file should have a line like

 

ServerName www.yourdomain.tld

 

which should be it's primary FQDN

 

 

 

On Sunday, March 16, 2014 03:28:28 PM keith smith wrote:

> Thanks!!

>

>

>  

> ------------------------

> Keith Smith

>

>

>

> On Sunday, March 16, 2014 2:49 PM, Eric Cope <eric.cope@gmail.com> wrote:

>

> check your httpd.conf file. I recall having to set the hostname in that conf

> file.

>

> Eric

>

>

>

>

>

>  

>

> On Sun, Mar 16, 2014 at 2:21 PM, keith smith <klsmith2020@yahoo.com> wrote:

> >Hi,  I'm configuring a VPS at DigitalOcean and after installing Apache -

> >yum install httpd, I try to start Apache with "service httpd start"  I get

> >the following error:

> >

> >Starting httpd: httpd: apr_sockaddr_info_get() failed for host.domain.tld

> >httpd: Could not reliably determine the server's fully qualified domain

> >name, using 127.0.0.1 for ServerName

> >

> >If I issue "service httpd status" it returns "httpd (pid  1764) is

> >running..."

> >

> >I've searched the net and some suggest adding my FQDN to the hosts file. 

> >Is this the correct answer and if so do I just add a line like :

> >host.domain.tld 255.255.255.255 where 255.255.255.255 is the IP of the

> >VPS?

> >

> >Thank you so much for all your help!!

> >

> >Keith

> >

> >---------------------------------------------------

> >PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org

> >To subscribe, unsubscribe, or to change your mail settings:

> >http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>

> ---------------------------------------------------

> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org

> To subscribe, unsubscribe, or to change your mail settings:

> http://lists.phxlinux.org/mailman/listinfo/plug-discuss