Question

How to setup SSL (HTTPS) on an EXTRA Domain in a Litespeed + Wordpress Droplet ?

Posted October 11, 2021 73 views
WordPressDigitalOceanDigitalOcean 1-Click Apps MarketplaceLet's EncryptUbuntu 18.04

I got a working domain called, let’s say “DOMAIN1.COM”, which runs into a “1 click droplet Litespeed + Wordpress”. And it got SSL already working.

Now I added an extra domain “Domain2.com”. I made all the necessary changes at DNS and it is working nicely. Except that it have no SSL.

Does anyone knows how can I setup SSL for the extra domain?

1 comment
  • I tried “certbot -d domain1.com -d domain2.com”

    But I got the following message:


    Certbot doesn’t know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run “certbot certonly” to do so. You’ll need to manually configure your web server to use the resulting certificate.


    I also tried “certbot certonly”, and I got the following:
    (I changed my domain name to “domain1” here)

    **
    Challenge failed for domain domain1.com
    Challenge failed for domain www.domain1.com
    **

    ** Domain: domain1.com
    Type: unauthorized
    Detail: Invalid response from
    http://domain1.com/.well-known/acme-challenge/0enchpXyFuBDk3wrgvdrgf455aT5MBaCe4X-kDHEVGQBc7PCE
    [189.88.44.344]: “<!DOCTYPE html>\n<html
    style="height:100%">\n<head>\n<meta name="viewport"
    content="width=device-width, initial-scale=1, shrink-to-”**

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Now I tried: certbot certonly

And I got the following:

(I changed my real domain name for ‘domain1’ here)

*Challenge failed for domain domain1.com
Challenge failed for domain www.domain1.com
*

** Domain: domain1.com
Type: unauthorized
Detail: Invalid response from
http://domain1.com/.well-known/acme-challenge/0enchpXyFuBDk3wr234fsdfdsf5MBaCe4X-kDHEVGQBc7PCE
[159.455.45.345]: “<!DOCTYPE html>\n<html
style="height:100%">\n<head>\n<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-”**

Show answer This answer has been marked as resolved by Rastaman.