Updated guide: This article has been refreshed for current hosting environments. Control-panel labels and available features can vary slightly by account, server configuration, or software version, but the workflow below follows the current approach used on modern hosting platforms. This guide is written to help you complete How to Install DirectAdmin on CentOS safely and understand what to check if the expected result does not appear.
Before you begin
- Confirm the domain resolves to the correct service.
- Check whether the certificate is issued by AutoSSL, a commercial CA, Cloudflare or another provider.
- If Cloudflare is used, check both the visitor-to-Cloudflare certificate and the Cloudflare-to-origin connection.
- Do not install multiple competing SSL configurations without first identifying which system is responsible for renewal.
HTTPS and Cloudflare
Modern Cloudflare deployments can involve two TLS connections: the visitor connects to Cloudflare and Cloudflare connects to the origin server. Cloudflare provides Universal SSL for supported proxied hostnames, while the origin still needs an appropriate certificate when the selected SSL/TLS mode requires encrypted communication to the server. Keeping the origin certificate valid avoids common 52x and SSL-related errors.
SSL troubleshooting
- Certificate is not issued: Verify that the domain resolves correctly and that certificate validation can reach the expected DNS or HTTP validation path.
- Browser shows mixed content: Make sure the site and its assets load over HTTPS. Update hard-coded HTTP URLs in the application or database where appropriate.
- Cloudflare shows an SSL error: Confirm that the origin server has a valid certificate and that the Cloudflare SSL/TLS mode matches the origin configuration.
- Certificate expired: Check AutoSSL status or the certificate provider renewal process rather than installing a replacement certificate blindly.
When to contact support
Contact support when the required feature is unavailable, a server-level service is failing, an account is locked, a restore requires privileges you do not have, or you have verified the settings but the service still does not work. When contacting support, include the domain name, the exact error message, what you changed, when the issue started, and screenshots or log output where appropriate. Do not send passwords or other authentication secrets.
Original illustrated procedure
DirectAdmin(DA) is a Commercial Hosting Control Panel used to sell shared and reseller hosting accounts.
What are the requirements?
- Fresh CentOS, AlmaLinux, Ubuntu, or Debian installed on your VPS/Server.
How to install DirectAdmin?
Step 1: The first step is to log in to your root account using SSH or any other way.
If you have an IP-based license, run the below command.
bash <(curl -LSs https://download.directadmin.com/setup.sh || curl -LSs https://download-alt.directadmin.com/setup.sh) 'auto'
For a key-based license, execute the following command with your license key.
bash <(curl -LSs https://download.directadmin.com/setup.sh || curl -LSs https://download-alt.directadmin.com/setup.sh) 'Provided license key should go here'
Once the installation starts, it may take from 20 to 30 minutes to complete.
Step 2: After the installation is done, it will display the login credentials and the URL on-screen. You can access it by changing the URL in your browser to http://IP-Address:2222 (Replace IP-Address text with your server IP or hostname).

Congratulations, you have successfully installed the DirectAdmin control panel.