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.

If you want to change the hostname, follow the steps below.

  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.