DirectAdmin Letsencrypt for servers hostname

I noticed on your DirectAdmin images you have letsencrypt  pre installed.
the SSL will not install on my servers hostname. 

Please check the fowlloing before running any of the cli commands else they will fail.

  1. Your hostname is resolving to the server correctly
  2. your hostname is set in correctly "Administrator Settings" in DirectAdmin  


If both are correct and the SSL will still not install  follow these steps. 

  1. Change your hostname  to some random hostname in DirectAdmin  "Administrator Settings"
  2. Wait at 5 minutes
  3. Change your hostname  back to your original  hostname in DirectAdmin  "Administrator Settings"
  4. Wait at 5 minutes

then run these commands from CLI as root 

cd /usr/local/directadmin/scripts
./letsencrypt.sh request_single myhostname.domain.com 4096

 

  1. If that does Not clear the issue log into directadmin as admin 
  2. Go to DNS adminstration & delete the zone hostname.domain.com & re-add it back manually 
  3. or add your servers hostname  as a A record to domain.com if it is hosted on your server 

then run these commands from CLI as root 

echo hostname.domain.com  >> /etc/virtual/domains

cd /usr/local/directadmin/scripts

./letsencrypt.sh request_single myhostname.domain.com 4096

Of coarse changing hostname.domain.com  for your real hostname  

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What virtualization software do you use?

We use Parallels Virtuozzo Containers (PVC).

Why is my VPS constantly crashing?

There are several causes to why you may not be able to access your VPS. Some users often mistake...

What kind of support do you offer?

We offer Fully Managed VPS packages. For a list of items that we support, please refer to the...

What kind of software can I install on my VPS?

As you have full root access, you may install any compatible software on your VPS. However, any...

What is Virtuozzo?

Virtuozzo is the VPS technology created by SWsoft which allow us to create isolated VPS servers...