Question : Could not reliably determine the server's fully qualified when trying to restart https service

Hi what does this error mean? and where does it pick up this domain name from?


Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using sag.visas.gov for ServerName

Answer : Could not reliably determine the server's fully qualified when trying to restart https service

When there's no ServerName directive in the global section of httpd.conf -- that's when httpd has to try to determine the servername itself.  And something in the configuration of your machine, or in your name resolution, has httpd ending up with sag.visas.gov wrongly.

Add a line in the global section (you may see a commented-out example line shortly after ServerAdmin):
ServerName visas.ecvisas.com

Also change back your ServerName line in the VirtualHost section to visas.ecvisas.com.

Make sure visas.ecvisas.com is in your /etc/hosts file.

Then try restarting apache.
Random Solutions  
 
programming4us programming4us