How do I change my hostname?

1. Login to server via SSH as root.
2. Run the following command to change host name:
3. hostname servername.domain.com
4. Change servername.domain.com to a hostname you desired based on your domain name.
5. if you are running cpanel/whm Run the following command to update cPanel license information to avoid invalid cPanel license error:   /usr/local/cpanel/cpkeyclt

  • learning, linux, changehostname
  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Common Linux Shell Command Reference

If you want to copy all the files and folders from /path/folder/ to /other_path/folder/ you...

How can I use SSH to connect to my server ?

How to use PuTTY to connect to a server   Start PuTTY by double-clicking its icon   You...

How do I find a file in Shell?

Type in "locate name_of_file_or_folder" > Press Enter

How do I know which ports are open on my system?

To get a list of listening network ports (TCP/UDP sockets): 1. Login to your dedicated server as...

What is OpenVZ?

OpenVZ is container-based virtualization for Linux.

Powered by WHMCompleteSolution