Site Fuse! programming, design, hosting, promotion and advertising tips for webmasters

Change Hostname (linux server)

Home  \  Forums  \  Linux & Unix Operating Systems  \  Change Hostname (linux server)

2Guns

Edit;
/etc/hosts
/etc/sysconfig/network


Check apache's httpd.conf
vi /usr/local/apache/conf/httpd.conf
make necesarry changes on default hostname/virtual server


Additionally, you may need to re-update your Cpanel license key if you're using it.

Run;
/usr/local/cpanel/cpkeyclt


Restart the server
reboot or /sbin/reboot