To change your hostname, enter the following command as root:

$ hostname servername.yourdomain.com

If you are using cPanel, you will need to resync your license with the cPanel license server.  To do this, use the following command:

$ /usr/local/cpanel/cpkeyclt

Cette réponse était-elle pertinente? 54 Utilisateurs l'ont trouvée utile (133 Votes)