How to enable SNI (Server Name Indication) in DirectAdmin (SSL for every domain without a dedicated IP)

Modified on Wed, 13 Oct, 2021 at 8:58 PM

There are only a limited amount of IPv4 IP's available as the limit of this technology has been reached. The follow-up is IPv6, but this version is not supported by every internet user. Support for IPv6 is on it's way, but it will take years until everybody has IPv6 access.

Therefore, it is expensive to have for every domain you own a dediated IP. Instead, you can enable SNI on your server which allows you to have SSL for multiple domains on one IP address. The drawback is that SNI Is not supported by every browser/device, but most modern users have browsers/devices who do support SNI. You can find more information about SNI here.

To enable SNI on your DirectAdmin server, connect via SSH to your server. Add the following to /usr/local/directadmin/conf/directadmin.conf :

enable_ssl_sni=1

Restart DirectAdmin to enable SNI support.

That is it! Also, do not forget to enable SSL for every user in DirectAdmin and install letsencrypt to get free SSL certificates!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article