Changing VPS Hostname

By default, VPSs are named according to VPS host name templates configured by your CloudBlue Commerce provider. So, your VPS host name may be an automatically generated name in format vps-100-390002.example.com, or the like. If you find such host name uncomfortable, you are free to specify a custom VPS host name based, for example, on one of your existing domains.

Important: We recommend changing the host name on the initial step of your account management. We do not recommend that you change the host name of a VPS with some already functioning name-based services – such as, for example, Plesk. If nevertheless you want to change the host name of a VPS with running services, after changing the host name, you need to reconfigure all the services that use this host name as a parameter.

Note that, to be able to change the VPS host name, you need to have at least one domain registered for your account.

To change the VPS host name, perform the following steps:

  1. Go to VPS Management.
  2. Click the name of the VPS you want to change the host name for. The General tab opens.
  3. Click on the Change hostname button.
  4. If you want to set the new VPS host name to one of your domains' names, perform the following steps:
    1. Select the Set domain name as hostname for VPS option and click Next.
    2. On the screen that opens, select the domain you wish to point your VPS to. This domain name will be associated with the IP address of the VPS. Click Next.

      Note: You cannot associate more than one VPS with the same domain.

  5. If you want the new VPS host name to be placed inside a domain name (as a sub-domain to one of available domains), perform the following steps:
    1. Select the Set VPS hostname in domain option and click Next.
    2. On the screen that opens, type the desired custom prefix of the name in the New hostname field and select the domain name from the drop-down list. You can use the current domain as well.

      Note: Your VPS's host name may be based on the name of the provider's VPS hardware node it is registered on. In this case, the VPS host name looks something like this: vps-100-390002-205, and the VPS hardware node name (390002-205) is present in the list of domains. You can set it as the domain part of the VPS host name.

    3. Click Next to continue.
  6. By default, after changing the host name, existing DNS records for the host are removed, and new DNS records are created automatically.

    Note that only DNS records created automatically during provisioning or after the previous renaming are removed. If you have DNS records created manually (in case DNS management is allowed in your subscription), they are left untouched, unless you clear the Leave manually created A records check box (described below).

    You are free to configure DNS records for the new host name:

    • If the VPS has several IP addresses, you can select one of them from the IP address drop-down list to create A and PTR records for it. If you do not wish to create a PTR record, only an A record, clear the Create new PTR record check box.
    • You are free to refuse from the creation of new A and PTR records. For this purpose, click to clear the Create new A record and Create new PTR record check boxes, respectively.
    • You are free to delete all A records you have created manually for the old VPS host name. For this purpose, click to clear the Leave manually created A records check box.

    Click Next to continue.

  7. Check the parameters you have entered and click Finish. The General tab reopens with the following message: VPS host name successfully changed.

For some time, the VPS status is marked as Configuring. Wait until CloudBlue Commerce changes the VPS host name on the VPS Hardware Node. Only then the VPS gets the Ready status.