Content

Certificate installation (SSL)

This section covers certificate installation requirements, how to:
Use the server’s certificate
Create your own self signed certificate
Create A Certificate Request
Create Free & automatic certificate from Let’s Encrypt
Paste a pre-generated certificate and key

From the main User Menu, Account Manager → select the “SSL Certificates” link. You will see a page that looks like this:

WeKNow DirectAdmin

The 3 most important ones we explain below.

Paste a pre-generated certificate and key

Tick the ‘Paste a pre-generated certificate and key’ radio button. In the field below, paste your Private Key that was generated along with the CSR code and the certificate that you received from the Certificate Authority right after the RSA key from the new line.
If the private key is already filled in, simply copy your certificate including —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– tags and paste it below the key.

Once you have both codes in, click on the ‘Save’ button.

For the certificate to be trusted in all web browsers, you also need to install a CA certificate chain (CA Bundle) you received from the Certificate Authority.
To upload a CA bundle file, click on the link ‘CA Root Certificate’ at the bottom of the page.
Copy all the certificates from the CA bundle file, paste them into the Certificate Authority SSL Certificate field, check the box Use a CA Cert and click on the ‘Save’ button.

Make sure that the SSL connection is enabled for the domain. To check navigate to Account Manager → select the “Domain Setup” link.

WeKNow DirectAdmin

Install “Let’s Encrypt SSL Certificate”

First choose “Free & automatic certificate from Let’s Encrypt“.
Enter the domain name and email address.

Make sure that only domain.com and www.domain.com is selected. Off course if you want to secure your email or a subdomain, you can select also select it right now. Proceed to save.

WeKNow DirectAdmin
 
A successful process should look as below:

WeKNow DirectAdmin

Use the server’s certificate

Tick “Use the server’s certificate” and click on the “Save” button.
Important: Although non-Trusted certificates provide a high level of encryption, they are not the best choice because they are self-generated instead of purchased from a trusted authority. Because of this, visitors to your site may receive a warning popup window when they access a secure page!

General – IMPORTANT

To make sure everything works correct through secured SSL we need to make sure that “Secure SSL” is enabled for the domain. To enable it, Click on the domain you want to enable “Secure SSL”.
Make sure that Secure SSL is marked. Below this page you see also a link “private_html_setup”. Navigate to the link and click it: A new window open:

Depending on where you have upoaded your website/application data (public_html or private_html) you need to check the correct settings here. Usually “Use a symbolink link from private_html to public_html – allows for same data in http and https” is correct.

Domains Directory
This will backup all the files in your domain directory. If you have more than one domain, then all your domains will be backed up. Backed up folders include: logs, private_html, public_ftp, public_html, and stats. Because subdomains are in your public_html folder, they are backed up also. Choose this option if you are only concerned about the content of your web site, and not the settings.

Subdomain Lists
This will backup the subdomain names that you have created. It will not backup the files inside the subdomains. Use this option if you have many subdomains. If you fail to backup the subdomain lists, you will have to manually recreate each subdomain in the event of a system failure.

E-mail

Accounts: E-mail Accounts List for all domains (names and passwords).
Data: Includes the messages from the Inbox, IMAP Folders, and webmail data.
E-mail Settings: Includes the filters and the catchall address.
Forwarders: Includes all forwarding addresses.
Autoresponders: This will backup all autoresponder accounts and the message content of the autoresponders.
Vacation Messages: This will backup all vacation message settings and the vacation message itself.
Mailing Lists: Includes the list, digest-list and archives.

FTP

FTP Accounts
This will backup all FTP accounts created by you. Please note that it does not backup any files in the FTP directories. If you need to backup the content of the FTP directories, please select “Domains Directory” from the main backup screen.
FTP Settings
This will backup your FTP preferences, such as whether anonymous FTP is enabled and if an anonymous user can upload.

Databases

Database Settings: Backs up all DB Users and Settings.
Database Data: You should backup your databases often, especially if your site depends on them.

Storing Backups

Although backups are stored in the /backups directory, we suggest that you download backup files to your computer. This is the safest method because backups stored on the server may be lost in the event of a system failure.

Restoring Backups

From the main User Menu, Advanced Features → select the “Create/Restore Backups” link. Click on the blue button “Restore Backup”.
You will see a page that looks like this:

WeKNow DirectAdmin

In the backup menu, select the file to restore. If you have a backup file on your hard drive you must upload it to the /backups directory. This can be done through FTP or by clicking on the “Click here for a list of your current backups” link. Then, click the green “Upload File” button to upload your backup file which you want to restore.

At this stage you can choose which items to restore. When you have selected the correct backup, Select (check/uncheck) the data you want to restore.

Need more help?

Please contact your hosting company for more assistance, or visit the DirectAdmin support forum at https://forum.directadmin.com/.

Was this article helpful to you?

Comments are closed.