How to add a Custom Domain on Github Pages
HTML-код
- Опубликовано: 13 сен 2024
- In this video, you will learn how to register a custom domain using google domains and add it to your github pages.
First, you will need to have your github web page ready. If you don't know how to host your static website on github pages, check out this video:
• How to Host a Website ...
The steps are as followed:
1. Have your website already hosted on github pages.
2. Purchase a custom domain. In this tutorial, we purchase a domain on Google domains at: domains.google/
3. Go to your domain provider and click on the custom domain that you want to use. In this case, go to domains.google...
4. Go to the DNS settings and add the following custom A type records:
docs.github.co...
For the first set of custom records, select A type and add the following ip addresses one by one in the data field:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
For the second set of custom records, type www for host name, select A type, and add the same data.
5. After you've added the custom records to DNS, go to your github repo of your website. Click on settings, and then pages. Scroll down to custom domain and add the domain that you purchased. Save and wait a few minutes. Make sure it says DNS check successful.
6. Wait 10-20 minutes (possibly longer) and clear your cache. Now, type in your custom domain and you should see your github web page loaded.
Website: www.kennyyipco...
Java Game Programming Projects Playlist:
• Java Game Programming ...
JavaScript Game Programming Projects Playlist:
• JavaScript Game Progra...
Subscribe for more coding tutorials 😄!
Check out the playlist of web project tutorials here!
ruclips.net/p/PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q
Got a tutorial suggestion? Let me know down below!
I can't get the Enforce HTTPS checkbox to work. It says - Unavailable for your site because your domain is not properly configured to support HTTPS. Do you know how to fix this issue, sir?
Hey! Do the visitors to the site also have to wait for so long for the website to load?
I know you probably won't see this because this is an old video, but, can you please update this tutorial now that Google Domain has been bought by Squarespace?
Same steps, just delete all the old records (Squarespace defaults) and add yours under custom records, the hostname is "@" for the first 4 and "www" for the last 4 followed by ip from GitHub pages.
wait you’re being serious?
@@lilduckeyyYeah he’s being serious!
Tutorials well done. Short and informative. The explanations are also very precise!
Very helpful, thank you for sharing! One small difference for me was that it only worked if the first host name record was type A but the second "www." was type CNAME. Otherwise it all went according to the video.
Yeah, I tried setting both records to type A, but that wasn't really working. But once I used CNAME for the second method, the DNS check actually succeeded.
I'll try this... let's c.
Kenny, thanks a lot! I've used CloudFlare instead of Google Domains and it was a breeze to config everything following your video. Way simpler than Github docs :P
I can't get the Enforce HTTPS checkbox to work. It says - Unavailable for your site because your domain is not properly configured to support HTTPS
did u find any solution?😊
This was very helpful. Thank you.
Thanks Kenny, this video is easy to understand.
Nice and clear explanation, you helped me configure my custom domain, thank you!
thanks alot, this is really clear and easy to follow!
pretty straightforward, thank you
Very helpful, thank you!
Thank for this demonstration video!
Well Done, Thank You!! Looking forward to more videos!!!
My page is deployed using an action, I have a godaddy domain and everything works byt the page fails to load data wirh error 404 (it doesn't happen if I don't use a custom domain)
great tutorial! thank you!
Thanks, this helped a lot
Thank you ❤️ very helpful 🔥
Thanks! it helped.
I know this is an old video but I did the same thing and now all my website loads is a black page. I used to have content on my github page and now it's a black page that redirects to my domain. Any clue on how to fix it?
Thanks for this
Great video!
Thanks mate!
Thank you!
Thank you
Hey, my domain is from Hostinger. On adding DNS Records the field cant be empty. What should i do?
what is about AAAA records we don't need to set them at all?
Tried for 2 days and does not work. It says successful of github, then I wait 12 hours and it says unsuccessful and the site does not load.
Thanks
how does GitHub know the domain you entered belongs to you? I didn't see any verification steps
So like both WordPress & Webflow are charging people for something that should've been free? Like there's no reason why you can't just export the code from these platforms and then host them on GitHub.
hi, do you know how you would do this on 123reg?
Does it work for http domains as well?
my page always redirects to another github repository while I try to add custom page in Github. Can you help?
Your GitHub domain is linked to all the repositories. You have to rename the repository or the file
Primera en comentar 🙌🏼
P r o m o s m 😕