I'm very new to SSLs and trying to figure out if something is possible to do.

I have a VPS with Ubuntu 20.04 and have multiple domains pointing to the /var/www/html directory. Some are pointed using an A Record and others use a CNAME. Not sure if that really matters.

Is there any way to install an SSL so any domain that's pointed to my server will work?

And if not, is there any way to have Ubuntu automatically recognize when a new domain has been pointed to the server and issue a certificate from Let's Encrypt? For example, the first time a visitor goes to the domain, the server could recognize that it doesn't have an SSL installed for that domain and just does it on the fly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.