How do I get a free SSL certificate for a domain alias?
The short answer is that we don't support SSL certificates for aliases. However, you can still totally get this done.
How to get a free SSL certificate for a domain alias
If you already set up your alias domain in another web site, remove it.
Create a new web site using the domain that you were going to set up as an alias:
- Log in to your Dashboard
- Navigate to VPS HOSTING
- Select your VPS/Domain: yourdomain.com
-> Click Manage (green button) - Go to Web Sites
- Click Add New Website or Subdomain to this VPS (green button)
- Add a new website, called "othersite.com" or whatever your alias will be.
The alias site will now appear in your list of websites, and you'll see an option to edit the document root. Change the document root of your alias website so it matches the document of your primary website, i.e. /home/domains/yourdomain.com/public
That's it! Your domain is now aliased, and it'll even get free SSL certificates automatically installed. That takes a bit of time, usually about half an hour, so just be patient.
Edit the document root:
Edit the document root of the new web site so that it points back to the orginal web site.
Done!
Wait about 10 minutes and your alias domain will receive an SSL certificate but will show the content of your original web site.