Knowledge Base

Record the new FQDN, hostname and domain name of your VPS. The FQDN or 'Fully Qualified Domain Name' is the domain field on the Manage VPS page.

The hostname and the domain name form the first and second parts of the FQDN respectively. For example if the FQDN for your host is 'myvps.vomble.com' then the hostname is 'myvps' and the domain name is 'vomble.com'.

Follow the instructions for your distribution below.

Linux

Debian / Ubuntu

Edit the configuration file /etc/hostname. Replace the contents with your host name.

    myvps

Record your hosts primary ip address this can be found on the 'Manage VPS' page.

Edit the configuration file /etc/hosts. Change the contents so that your host's primary ip address is associate with your FQDN and hostname.

    127.0.0.1     localhost
    10.2.133      myvps.vomble.com myvps

Reboot machine

 

Fedora / CentOS

Edit the configuration file /etc/sysconfig/network so that the HOSTNAME setting (ie the line starting with HOSTNAME = ) is equal your new FQDN.

    HOSTNAME = myvps.vomble.com

Reboot machine

Windows

Step 1: In 'Start' Menu right click on 'Computer' and in the context menu that appears select 'Properties'.

ComputerPropertiesSelect


Step 2:
In 'System' panel click on 'Change Settings' button.

ComputerPropertiesPanel


Step 3:
In 'System Properties' panel click on 'Change' button.

SystemPropertiesPanel


Step 4:
In 'Computer Name/Domain name changes' panel set 'Computer name' to your new hostname and click on 'More' button.

ComputerNamePanel


Step 5:
In 'DNS Suffix..' panel set 'Primary DNS suffix ...' to the domain name and click 'Ok'.

dnssuffixpanel


Step 6:
A prompt will appear asking you to restart the computer to apply any changes. Click 'Ok'. Restart the VPS at the start menu or by using your mpanel account.

RestartPrompt

Preload Preload Preload