How to update my VPS hostname.

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE NOW DISCONTINUED. IF YOU HAVE ORDERED A VPS IN 2025 OR LATER, CHANCES ARE THIS ARTICLE DOES NOT APPLY TO YOU. INSTEAD, PLEASE REVIEW THE CURRENT ARTICLES HERE: https://portal.incognet.io/knowledgebase/14/KVM-VPS-or-vDedi-Articles

 

At IncogNET, we randomly generate all VPS hostnames at time of ordering. If you have several servers in your account, this can get quite confusing when trying to determine which VPS is hosting what service.

From your VPS control panel:

Your hostname does NOT need to a FQDN. You can put anything there. "XMPP-Server", "Website1", "Netherlands-VPN" or whatever you'd like.

 

From your VPS, logged in via ssh:

sudo hostnamectl set-hostname example-server

Once you logout and log back in to SSH, you'll see your new hostname is reflected in the terminal. (Ex: root@new-hostname instead of root@srv-8BR92PV4 )

  • hostname, vps
  • 103 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How to add SSH Keys to your servers from the control panel.

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE...

How to set your root password

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE...

My VPS Control Panel password doesn't work

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE...

VPS Snapshots

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE...

What operating systems are available?

NOTE: THIS IS AN ARCHIVED KB ARTICLE THAT ONLY APPLIES TO OUR OLDER, LEGACY VPS PLANS THAT ARE...