Hey, I am wondering how I could add a subdomain. Like this https://test.site/info.
Also, I am wondering how I could remove the ‘www’ off my site domain.
Hey, I am wondering how I could add a subdomain. Like this https://test.site/info.
Also, I am wondering how I could remove the ‘www’ off my site domain.
You can do this with these steps!
@Callum-OKane, when I try to add the hostname is says “Hostname is already taken. If you control that hostname, please contact support@fly.io” even though I own it. What should I do?
Hey @Ipex can you provide the project and hostname you’re working with?
My guess is that you’re attempting to re-register a hostname that’s already been registered. The Glitch Custom Domains feature doesn’t currently display existing hostnames, so this is a fairly common problem.
Wait, now my project is saying that it’s already been used. Could you remove it?
Ok, I’ve removed that domain.
Are you adding it to your project before fly, because if you want to use fly.io, you do not add it to your project at all, and do it all through fly.io
@Callum-OKane, okay so I am now on the DNS part. And I’m tryna add a CNAME because I’m using Freenom, but I can’t go past it unless I add a name and I don’t wanna have a www. What should I do?
You will have to use cloudflare for your DNS to get an apex domain like that.
When you switch to cloudflare, you will have to switch your nameservers on freenom, but that is not a hard job, then on dns settings on cloudflare. Create a cname pointing to glitch.edgeapp.net and have the name be @ which will automatically change it for an apex domain.
While I agree with @Callum-OKane that CloudFlare can be useful, in many cases it’s not necessary, and to say that you’ll have to use it is inaccurate.
Freenom doesn’t have a way to use a CNAME record for an “apex” domain (one without a subdomain like “www”); this is pretty typical and you can read more about it in our custom domains help doc and the linked articles there. If you want to use an apex domain with Freenom you’ll need to use an A record and the IP address for glitch.edgeapp.net. In Freenom’s DNS interface, the “Name” field is optional for an A record.
I’m really confused on what to do, I tried add the DNS to Freenom but it didn’t work.
Can you show us what your current Freenom configuration looks like?