Hello! I am wondering if I can assign a .tk domain to my Glitch project (https://aklox.glitch.me).
I have tried to get CloudFlare to link my Glitch project domain but I get a Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com) (Code: 1116)
Thus, when adding the .tk domain I get a aklox.tk is not a registered domain (Code: 1049) error.
How can I connect my Glitch project to a .tk domain then?
The owner of .tk domains is Freenom. They don’t allow you to enter a URL to redirect/foward to. Only IP addresses are accepted.
We don’t support custom domains yet ourselves, but you can set one up using a third-party. We recommend https://fly.io as they make it super easy and have a glitch option.
I have tried that but fly.io asks you to point your domain to a URL. Thus, freenom doesn’t support records pointing to a URL. Also, fly projects can’t be accessed just by their IPs.
You did right up to and including getting the IP address. You then need to go to your domain name registrar’s site and create an A name record for your domain using that IP address. It doesn’t matter that you can’t access your site when visiting the IP itself, it isn’t unique to you.
Glitch apps don’t have a unique IP address and can change at any time.
Could try using your browser to a proxy server or through a VPN. An easy way to try this is the Opera browser, which has a free VPN built in (except not on the mobile version I think). I’m guessing they get paid by selling your meta data, might still be worth it.