Search Our Database

How to manually change or update DirectAdmin license

Last updated on |
by

Introduction

You may need to change or update your DirectAdmin license in several scenarios, including when you change your server’s IP address, migrate to a new server, upgrade or downgrade your license, renew an expired license, switch license types, or address licensing errors. Updating the license ensures continued compliance and smooth operation of the software under the correct licensing conditions.

 

Prerequisites

  • SSH access to the Server with sudo privileges
  • You have obtained the new license details from your DirectAdmin provider.

 

1. Gather the Client ID (uid) and License ID (lid). These are unique identifiers provided by DirectAdmin.

  • If you purchased the license yourself, you can retrieve it from https://www.directadmin.com/clients/
  • If the license was obtained through your hosting provider, please contact them for assistance.

 

2. Connect to your server using SSH

ssh [username]@[your_server_ip]

 

3. To update the license, run the following commands:

/usr/local/directadmin/scripts/getLicense.sh clientID LicenseID
  • Replace clientID with your DirectAdmin client ID.
  • Replace LicenseID with your DirectAdmin license ID

 

Ensure the license file has no error messages or strange characters. Then, restart the DirectAdmin service:

systemctl restart directadmin

These steps ensure that your DirectAdmin license is updated and services restarted to reflect the changes.

 

Conclusion

This process ensures your DirectAdmin license is up-to-date and avoids service interruptions. For further assistance, contact our support team at support@ipserverone.com.

 

Article posted on 22 February 2020 by Louis