Again: I cannot get thanks. I cant find ppl who want help…
This never shows up with somebody.
Ah, I understand now. I have more thanks on the site than anyone else, but I haven’t helped the most people - the majority of the thanks came from creating useful resources that other people valued. I suggest you try doing the same.
Meanwhile, does going to https://fly.io/sites directly work?
YESS THAT IS WHAT I WANTED!!!
Glad you got what you needed!
- Now go to your DNS provider’s DNS managment area -.
How can i get there?
Hey @LeeeRoux, welcome to the Glitch forum!
This depends on who your DNS provider is. You can see a couple of examples at https://glitch.com/help/custom-domain/, but if you let us know who you use for your DNS someone might be able to provide specific guidance.
Hey @cori , Thanks for helping.
I got it already, Sorry i didn’t think about it before asking
this comment should be pinned or something
Hey, @lucasverra! Welcome to the Glitch Forums!
For some people Glitch’s built in custom domains may not be an option because you require 2 thanks in Glitch.
Also, while your using Glitch’s custom domains you miss out on lots of extra custom features.
Personally, I do it the manual way as I have more control over my domain and it’s easier to troubleshoot (sometimes).
I believe the built in domains for Glitch are good for people that just want to get their project on a domain without any extra customisation. However, for the more experienced users the manual way maybe a better option.
Happy glitching!
thanks for the insight, make sens.
To clarify confusion, here’s a quick note:
fly.io/sites is getting deperecated so it does not show on the main topbar.
if you are not logged in to fly.io it will say “four-oh-four, maybe lost”
logging in to fly the percedding to fly.io/sites will give you the fly.io sites interface
Update: Fly.io has given us the stick and we cannot access fly.io/sites
Thanks for the clarification which should help newer users. Whilst the sites part is getting deprecated, using normal Edge Apps will cost.
How can I configure these DNS?
Help me please!!! :’(
Hey @SuperColy,
To configure your DNS,
At freenom.com
Then, you can set up your DNS records, by going to
the Manage Freenom DNS area.
Now you can enter a variety of different DNS records,
including A, MX and CNAME records.
But what we need to enter is the CNAME record. You will get a box like this:
Name
part alone. Now set the TTL
part to 14440
.Target
box enter the IP address you wrote down in step 3 of the original postThen proceed from
Hey am I able to get some help? I did all the instructions but it’s not appeared to have worked.
I think I did something wrong in the last part , I am not sure if I am in the right place on my DNS Provider’s DNS management area because I get the following options instead of the name/type/TTL/target fields from the instructions
i’m using squarespace as my DNS provider btw.
where do I type
"Now set the TTL
part to 14440
."
? I am not allowed to type anything into the HOST or PRIORITY boxes (RECORD is set to A, and in DATA i put my IP address and i tried a few because i got given 3)
also in there, there are about 5 other IP addresses already in the fields (on squarespace that is) so should i delete those or?
also in step one I ignored that part and none of this code is in my site, does it need to be?
function checkHttps(req, res, next){
// protocol check, if http, redirect to https
if(req.get(‘X-Forwarded-Proto’).indexOf(“https”)!=-1){
return next()
} else {
res.redirect(‘https://’ + req.hostname + req.url);
}
}
app.all(’*’, checkHttps);
The TTL part is not required as most providers do it automatically.
———
You don’t need the checkHttps function.
Thanks so much. I’ve tried many times to do it and use all the different settings but still no luck.
This is the error I get now "DNS RECORD CONFLICT: There cannot be an apex (@) CNAME record.
However this is what fly.io is telling me to do:
There is also the custom nameservers section on squarespace - should I select “use squarespace nameservers” or “custom nameservers” ? (and what would those be?)
Ah. It seems Squarespace doesn’t support CNAME flattening.
Custom name servers is if you want to use a different DNS provider. I personally use Cloudflare DNS as it supports many many features (including CNAME flattening) + free SSL. I also recommend Cloudflare as it just eliminate most issues.