You don’t get to freely choose which folder a domain name is assigned to on free hosting. You can either setup the domain under a new folder, or link it to an existing domain.
So if you still have your original free subdomain set up, you can setup your own domain as an alias. If not, then this is just the location where the server will look for your website files.
To conclude that your website is not working because “the domain is not pointing to the right directory” is one way to look at it. You could also describe it as the website not working because “the website is not uploaded to the right location”. It’s the same situation, but a different way to look at it.
And while it’s not possible to fix the first issue, you can fix the second one:
However, the error from Cloudflare is not related to website files at all. It says “Invalid SSL Certificate”, which means that it’s an SSL issue.
This can be caused by a few things:
- Your website is using “Full (strict)” SSL mode in Cloudflare, but you do not have a valid SSL certificate setup on our end. You can fix this by either changing Cloudflare to “Full” SSL mode, or by setting up a valid SSL certificate through us. And to setup a valid SSL certificate, you can either get a free SSL certificate through us, or upload a Cloudflare Origin Certificate.
- Your website is not pointing to the right IP address. And the IP address that it actually points to does not have the right settings. If you’re concerned about this, please share a screenshot of your DNS records at Cloudflare.