# nano /etc/sysconfig/network
and set HOSTNAME=yourdomain.com
save and exit
You will have to reboot your VPS/server to see the changes take place
# nano /etc/sysconfig/network
How to install FFMPEG and FFMPEG-PHP install on CentOS 5.X To install FFMPEG please follow the...
If you are installing LAMP on a new server and ran into the following issue with httpd during the...
Find the ifup-post under /etc/sysconfig/network-scripts. This scipt is called right after any...
How to Change Hostname - CentOSThis KB helps user to change hostname on CentOS. By default your...
Open a terminal window and log in to your server via SSH.Create the user by entering the...