Apply for Free VPS

Change your server's hostname

Updated 27 Nov 2026 hostname

Rename a server from the dashboard and understand what changes.

A hostname is the server's own name. It may use letters, numbers and hyphens, up to 63 characters, and cannot start or end with a hyphen.

From the dashboard

On the server page, under Settings, enter the new name and choose Change hostname. Wait for the action to finish. Depending on the system, the change may apply fully after a restart.

Check inside the server

hostnamectl

What does not change

  • The IP address and forwarded ports
  • Your SSH keys and files
  • DNS records at your domain provider. A hostname does not create a DNS name.

Setting it only inside the server

sudo hostnamectl set-hostname web-01

The dashboard will still show the old name, and a later reinstall uses the dashboard's value. Change it in the dashboard to keep both the same.

If an application complains

Add the name to /etc/hosts on the line for 127.0.1.1:

127.0.1.1 web-01

Was this helpful?

Report outdated or incorrect information