How To Change Your Hostname

Article By: jason


change linux server hostname on BIPmedia VPS Change the hostname line in /etc/sysconfig/network to the hostname you want (this file may be different on FreeBSd and others).

Your hostname should be something prefixing a domain you own (this is referred to as a fully qualified domain name, FQDN), so for example, not just

Changing it in that file ensure that your hostname gets set each time networking starts, however you'd need to restart networking for it to get set in the current session with just that changed.

This is not required for our current running environment however, we can just set it with the hostname command. To do so run:


If you are running a cPanel server, you will want to simply change the hostname in under both Main » Server Configuration » Basic cPanel/WHM Setup and Main » Networking Setup » Hostname.

Tags: , , , , ,

Welcome to the healthcare-only HIPAA - GDPR compliant cloud. Exclusively hosted on a HPC environment!

Learn more or start today by choosing your secure HIPAA - GDPR compliant server's Operating System bellow and pick the package that's best for you.

BIPmd makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine, thousand or more.

Windows VPS options and add ons
Linux VPS options and add ons


Looking for a custom solution?

Our technicians can provide you with the best custom-made solutionss on the market, no matter whether you're a small business or large enterprise.

Get in touch

Leave a Reply