Setting fully qualified domain name for Apache server

Edit /etc/apache2/httpd.conf

Search, using ctrl-w, for ServerName

Uncomment this line:

#ServerName www.example.com:80

and then change the last part to “localhost”

ServerName localhost

 

Leave a Reply

Your email address will not be published. Required fields are marked *