# How to achieve HTTPS on my custom sub-domain?

**URL:** <https://forum.infinityfree.com/t/how-to-achieve-https-on-my-custom-sub-domain/89341>\
**Category:** Hosting Support\
**Created:** [January 30, 2024, 3:22pm UTC](https://forum.infinityfree.com/t/how-to-achieve-https-on-my-custom-sub-domain/89341 "2024-01-30T15:22:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 30, 2024, 3:25pm UTC](https://forum.infinityfree.com/t/how-to-achieve-https-on-my-custom-sub-domain/89341/2 "2024-01-30T15:25:34Z")

</div>

The .htaccess file is fine. However, the .htaccess file also includes code to force all traffic to HTTPS. But [link.approjectband.com](http://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:

> [@How to get Free SSL (HTTPS) on InfinityFree](https://forum.infinityfree.com/t/how-to-get-free-ssl-https-on-infinityfree/49323):
>
> If you’re using free hosting with your own domain or a subdomain, you’ll want to make your website work over HTTPS (SSL). Fortunately, InfinityFree provides all the tools you need to make it so. If you like videos better then text guides, scroll on down to the bottom of this guide. This guide uses the control panel functions and the Free SSL Certificates tool provided by InfinityFree to get SSL up and running on your site. This article only applies to custom domains Free subdomains (like your…

---

_[View the full topic](https://forum.infinityfree.com/t/how-to-achieve-https-on-my-custom-sub-domain/89341)._
