Skip to main content

Tutorial: Change the Subscription Portal Hostname

Abstract

Customize the hostname that displays on your Access Server subscription on the OpenVPN portal.

Overview

You can view your Access Server details on your subscription from the Access Server Portal. This tutorial shows you how to update that hostname.

subscription-hostname.jpg

Tip

This tutorial differs from the hostname used for the Client and Admin Web UIs. For those steps, refer to this tutorial:

  • An installed Access Server.

  • Console access and the ability to get root access.

  • Access Server Portal access.

  • An activated subscription license.

Before making these changes, it's good to answer these questions:

  1. Is there any other software running on your Linux server that would be negatively affected by a hostname change?

  2. Is there a policy within your company for server naming, where this may affect an already assigned DNS name for the machine? (If yes, verify the local DNS setup on the machine is correct and if Access Server should have picked up the assigned hostname already.)

    • If you can answer no to both questions, follow these next steps. Not all distributions have the hostnamectl command.

  1. Connect to the console and get root privileges.

  2. Set the hostname:

    hostnamectl set-hostname [put-your-desired-hostname-here]
  3. Ensure the hostname is set up correctly:

    hostname
  4. Restart the Access Server service:

    service openvpnas restart
  1. Sign in to the Access Server Portal.

  2. From the Activation Keys page, find the desired subscription.

  3. Click Server Information and Email Settings.

  4. Note the hostname displayed with the server information.