Page 1 of 1

Letsencrypt & domain aliases

Posted: Fri Oct 08, 2021 4:36 am
by xuonggiasoc
If I want to add multiple domain aliases to a website so it will serve any requests, is there a way to tell Letsencrypt I dont want certs for those domains.
At the moment enabling LE will fail in this scenario.

Thanks

Re: Letsencrypt & domain aliases

Posted: Fri Oct 08, 2021 12:33 pm
by myVesta
Maybe to create separate domain/subdomain with aliases that you do not need LetsEncrypt, and symlink 'public_html' to existent 'public_html' where you already have website.
Just fix 'open_basedir' in /etc/php/7.x/fpm/pool.d/ in the way that (new) separate domain/subdomain can access existent 'public_html'.

Re: Letsencrypt & domain aliases

Posted: Wed Oct 20, 2021 11:44 am
by xuonggiasoc
myVesta wrote: Fri Oct 08, 2021 12:33 pm Maybe to create separate domain/subdomain with aliases that you do not need LetsEncrypt, and symlink 'public_html' to existent 'public_html' where you already have website.
Just fix 'open_basedir' in /etc/php/7.x/fpm/pool.d/ in the way that (new) separate domain/subdomain can access existent 'public_html'.
Thank you for your assistance.
I will follow the instructions.