I have setup a single Digital Ocean droplet for the purpose of running Wordpress for a site I am running called ‘wealth-hack’. I have setup my primary domain using LetsEncrypt so that https://wealth-hack.com and https://www.wealth-hack.com both work well and work as ‘secure’ for both Chrome and Safari.
I have some other domains (wealth-hack.us, wealth-hack.co) that re-direct to my primary domain (wealth-hack.com) using cname aliases. When my primary domain was http, this all worked well. However now, when you browse to http://wealth-hack.co, it comes up with a ‘your connection is not secure’ message and auto-direct doesn’t function.
The question I have is can I rerun letsencrypt and add -d wealth-hack.co -d wealth-hack.us to the arguments I presented the first time to have 1 cert work across all domains? Would this also require me adding more server aliases in 000-defult.conf or do I need to create new certs/new confs per domain?
Thanks in advance for your help, loving LetsEncrypt, hope I can get this more complicated part over the line and get back to content:)
Please fill out the fields below so we can help you better.
My domain is: https://wealth-hack.com
I ran this command:
It produced this output:
My operating system is (include version): Ubuntu 16.04.1
My web server is (include version): Apache/2.4.18 (Ubuntu)
My hosting provider, if applicable, is: Digital Ocean
I can login to a root shell on my machine (yes or no, or I don’t know): Yes.
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No