I have a laravel-powered website site.com
with let's encrypt SSL enabled via VestaCP.
Now I want to add also site.id
and site.ru
to be directed into same project base and have the SSL enabled on them too.
I've tried to put site.id
and site.ru
as aliases of site.com
and without SSL it works. However if I try to disable and re-enable the let's encrypt certificate to trigger generation of certificate for all 3 domains, I get Let's encrypt 400
error.
Maybe it's somehow possible to get done via SSH commands?
Or maybe I can set 3 separate www
domains in vestacp and then via SSH configure nginx configuration to direct them all into one codebase folder?
My last resort would be to set 3 www domains in vesta with separate codebases and SSL certificates, but single DB. It just seems very inefficient to go this way.