Name your server in Ubuntu

When I install the apache, php and mysql combo, I need to set the server name:

Open the terminal and create this file (all in ONE line):

sudo nano -w /etc/apache2/conf.d/fqdn

Type this into the terminal

ServerName localhost

and save file

All statements made on - this website - are purely opinions of the author in the hope that, where appropriate, they may prove useful or informative.
No responsibility is accepted or taken for any action as a result of this website, or information used from this website.