How to achieve HTTPS on my custom sub-domain?

Website URL

https://links.approjectband.com

Error Message

ERR_SSL_PROTOCOL_ERROR

Other Information

I use a .htaccess for my domain www.approjectband.com. It is located under the main htdocs folder. This ensures that the site uses HTTPS.

I’ve copied this same file to my sub-domain: links.approjectband.com/htdocs/.htaccess

If I remove the .htaccess file, then I can access my sub-domain, but it’s HTTP and not HTTPS.

The .htaccess file is fine. However, the .htaccess file also includes code to force all traffic to HTTPS. But link.approjectband.com does not support HTTPS yet.

For your main site, you’ve already setup HTTPS, but not for the subdomain. And yes, HTTPS must be setup for every site individually, even for subdomains.

You seem to have some experience already with getting SSL on your site, but here is the guide if you need a reminder:

10 Likes

OH I need an SSL for the sub-domain as well! Thank you, I did not realize it worked that way.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.