Skip to content

How to change KVM hostname?

The default hostname of GL.iNet KVM is glkvm, which means you can locally access it via the domain glkvm.local when connected to the same network.

If you want to change the hostname, there are two methods: through the settings on the web control panel or via terminal commands.

Method 1. Control Panel Settings

  1. Log in to your KVM, navigate to Settings -> Network -> Hostname, and click Modify.

    hostname

  2. Customize hostname and click Apply.

    modify hostname

Method 2. Terminal Commands

  1. Log in to your KVM, navigate to Toolbox -> Terminal, and click Access.

    access terminal

  2. In the terminal, input the following command and press Enter (replace "example" with your desired hostname). Then your KVM will restart.

    echo example > /etc/hostname && reboot

    input command

  3. Wait for it to restart. Then you will be able to access your KVM using the new hostname.

    access new hostname

    If you forget the hostname or need to check if the change has taken effect, enter the following command in the terminal to view the current hostname.

    cat /etc/hostname

    verify hostname


Still have questions? Visit our Community Forum or Contact us.