Greetings,
I have two A records listed for domain.tld and www.domain.tld. HestiaCP created a website under “WEB” as domain.tld with an alias of www.domain.tld.
When accessing www.domain.tld, I get a SSL certificate error that it points to domain.tld.
I tried to create a new WEB in HestiaCP as www.domain.tld, the CP complains that domain.tld already exists.
How do I fix it so that both domain.tld and www.domain.tld points to the same website? 1) Add -expand to Let’s Encrypt certificate manually? or 2) fix something in HestiaCP to make it work. HestiaCP makes a note that I cannot modify Nginx config files with the server directive.
I must be missing something in the docs. Thank you.