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.
- Your hostname is resolving to the server correctly
- your hostname is set in correctly "Administrator Settings" in DirectAdmin
If both are correct and the SSL will still not install follow these steps.
- Change your hostname to some random hostname in DirectAdmin "Administrator Settings"
- Wait at 5 minutes
- Change your hostname back to your original hostname in DirectAdmin "Administrator Settings"
- 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
- If that does Not clear the issue log into directadmin as admin
- Go to DNS adminstration & delete the zone hostname.domain.com & re-add it back manually
- 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