How To Change The Hostname In Virtualmin

Typically, to change your server’s hostname you’d need to login to your server via SSH and issue the hostname command followed by the new hostname. However, with Virtualmin you can actually change the hostname by using the Hostname and DNS Client module. The focus of this article is to teach you how to locate this module and change your server’s hostname. You’ll need to have Virtualmin installed with Webmin access in order to get the full use of this guide. If you’re not certain how to do either of these things, please refer to the following guides for assistance:

 

 

How To Change The Hostname In Virtualmin

When you’re logged in and ready to proceed, please refer to the following steps:

 

  1. Click on the Webmin section
  2. Select the Networking option
  3. Click the Network Configuration module
  4. Select the Hostname and DNS Client module

 

Showing the Hostname and DNS client location

 

  1. You should now see the Hostname and DNS Client interface
  2. Locate the Hostname field
  3. Enter in a new Hostname into the Hostname field
  4. When you’re satisfied click the Save button

 

Showing the new hostname field in the Hostname and DNS client interface

 

Once saved, your new Hostname should now be active.

 

Helpful Related Articles


Share:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.