---
title: 'Tutorial: Change the Subscription Portal Hostname'
canonical: https://openvpn.net/as-docs/v3/tutorials/tutorial--subscription-portal-hostname/
product: Access Server Docs
description: Customize the hostname that displays on your Access Server subscription on the OpenVPN portal.
---

# Tutorial: Change the Subscription Portal Hostname

## 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.

> **Tip**
>
> This tutorial differs from the hostname used for the Client and Admin Web UIs. For those steps, refer to this tutorial:
>
> - [Tutorial: Setting Up Your Access Server Hostname for the Admin/Client Web UIs](https://openvpn.net/as-docs/v3/tutorials/tutorial--custom-hostname.md)

## Prerequisites

- An installed Access Server.
- Console access and the ability to get root access.
- Access Server Portal access.
- An activated subscription license.

## Step 1: Determine hostname change impact

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 that 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.

## Step 2: Set the hostname

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:

   ```
   systemctl restart openvpnas
   ```

## Step 3: View the hostname in the Access Server Portal

1. Sign in to the [Access Server Portal](https://as-portal.openvpn.com/billing/activation-keys/subscriptions).
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.

---

Prev: [Tutorial: Set a Local Connection Limit](https://openvpn.net/as-docs/v3/tutorials/tutorial--local-connection-limit.md)
Next: [Command-Line Tools](https://openvpn.net/as-docs/v3/tutorials/command-line-tools.md)
Index: https://openvpn.net/as-docs/llms.txt
