Callum
April 8, 2019, 7:36pm
1
There are 2 options that you can do to get your project webpage shown with a custom domain.
I would recommend option 2 if you would like upgraded HTTP connection to have secured https!
You will need 2 thanks on glitch to be able to go through with option 1 so option 2 will have to be the method you use!
Option 1:
Go to your project and go to the bottom left “Tools section”
Click “Custom Domains”
Enter in your url you would like to link.
Go to your domain control panel. Go to the DNS configuration.
Use @ if the url you used is an apex link (yourwebsite.com ) or the subdomain if you used one (www .yourwebsite.com).
Have the DNS configuration point to “glitch.edgeapp.net ” or else the shw.io link you were provided with on glitch!
All done! (Test and see if it works).
Option 2:
Go to the website: https://fly.io
Create an account (Or login if you already have one).
Go to the following page => https://fly.io/sites (Only shows page when logged in**)
Click the “New site” option.
Select “Hosting service” and glitch “Glitch”
Enter the URL of your glitch project.
Enter the domain you are using.
Go to your dns configuration and set the host pointing to the shw.io link you are given!
All done! (Go to the middleware and add https upgrader to use https instead of http)
1 Like
What is the shw.io domain, what does it mean, and who registered it?
Gareth
April 17, 2019, 3:33pm
3
When adding a custom domain via Glitch (Tools > Custom Domains) you get issued with a shw.io url via Fly that relates to your specific project. You should copy it for use later as you follow the rest of the instructions.
Callum
April 17, 2019, 4:07pm
4
If this is for the fly.io method, when adding the website it will come up during the setup with your shw.io link!
cori
April 18, 2019, 1:49pm
5
You can also use glitch.edgeapp.net instead of the shw.io link - that CNAME destination should work for any Glitch Custom Domain.
2 Likes
Callum:
Go to the website: [)
Create an account (Or login if you already have one).
Go to the following page => (Only shows page when logged in**)
Click the “New site” option.
Select “Hosting service” and glitch “Glitch”
Enter the URL of your glitch project.
Enter the domain you are using.
Go to your dns configuration and set the host pointing to the shw.io link you are given!
All done! (Go to the middleware and add https upgrader to use https instead of http)
I dont understand, couldnt anyone assign your project a domain?
Callum
February 5, 2020, 4:59pm
7
Yup, if you use the fly.io method and use a project url that is not yours, and is not already linked, then you can link that to any domain.
isnt that a bit of a security concern and if someone links a domain to your project what could you do about it
1 Like
@anon43649539 Glitch is a friendly community. Nobody will do that.
Callum
February 5, 2020, 6:10pm
10
There is no actual security risk , the project owner just might now allow it!
When I go to fly.io/sites I it shows me a 404 page. I have verified that I am logged in. @Callum-OKane
This is discussed in detail here:
Hey there! Many Glitch users probably wan’t their Glitch project on a custom domain. That’s why I’ve made this tutorial for you to use!
Note: this tutorial is long, but it does have pictures!
Step 1: Setup your glitch project
You obviously need a Glitch project to work with, so first go ahead and create one.
But wait… You aren’t going to get away with just making an sort of Glitch project.
You need to make a Hello Express project.
We’re nearly done with step 1 but next is security…
The specification of fly.io has changed and it cannot be used in the new app.
this is all I get when I go there
Thana
March 19, 2020, 7:52am
14
Small mistake in your 2nd option, nice tutorial though!
Thana
March 19, 2020, 7:52am
15
Make sure you’re logged in via here
I have verified that I am indeed logged in
1 Like
https://fly.io/sites doesn’t work - can it still be used to connect my custom domain ?
wh0
May 19, 2024, 4:06am
18
Fastly provides this service now.
3 Likes
This works !
Used 2nd method : ACME HTTP/CNAME challenge
for my BlueHost Domain …
Then deleted and added new record with Value
dualstack.t.sni.global.fastly.net
and domain connected
Thanks
1 Like