How to change Hostname?

To change the hostname on your VPS or Dedicated Server please use the following command: 


hostname servername.yourdomain.com

E.g. srvmgr.sitemyweb.com

 

To make the changes even after reboots you will need add/modify the following line in /etc/sysconfig/network:

HOSTNAME=servername.yourdomain.com

  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Adding Welcome Message for SSH Login

You add a message to all SSH logins on your VPS or Dedicated Server. This is useful if more...

Adding Welcome Message for SSH Login

You add a message to all SSH logins on your VPS or Dedicated Server. This is useful if more...

How do I get IPv6?

Contact our Customer Services Team and we can add this on for you. IPv6 is available on all our...

Can I have private subnets?

Yes for IPv4 and IPv6. For all subnets a RIPE justifications needs to be provided. Contact our...

How do you install Perl?

You can install perl using the below command: yum -y install perl

Powered by WHMCompleteSolution