How to Use a Custom Domain with GitHub Pages

  Рет қаралды 233,462

Tony Teaches Tech

Tony Teaches Tech

Күн бұрын

Learn how to add a custom domain to your GitHub Pages website. In this tutorial, we will demonstrate this with Google Domains, however this will work with any registrar including GoDaddy and others.
Learn how to setup your own GitHub Pages site here • How to Create a Free W...
Follow me on GitHub 👉 github.com/ton...
Find more at tonyteaches.tech
Check out my vlog channel ‪@TonyFlorida‬
#github #githubpages

Пікірлер: 193
@ntsikelelonelsonmbekwa3231
@ntsikelelonelsonmbekwa3231 2 жыл бұрын
Thanks Tony been stuck at this point of the custom domain on my github page since this morning, I finally managed to have my github page using my custom domain - thanks for the help man
@FactsSeeker
@FactsSeeker 3 жыл бұрын
Thanks man, your videos are always clear and concise! You deserve more subscribers!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I appreciate that!
@christiansmith188
@christiansmith188 3 жыл бұрын
Thank you for this Tony, very clear and easy to implement.
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Very welcome
@dirtymike3329
@dirtymike3329 3 жыл бұрын
Tony you are a god. Everyone else on the internet tries to make this stuff rocket science, but you make it nice and easy. Thanks so much!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Wow, thanks!
@aashishchaubeyschannel2676
@aashishchaubeyschannel2676 3 жыл бұрын
You saved hours of my efforts! Live long Tony!!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Happy to hear that!
@khalidelgazzar
@khalidelgazzar 10 ай бұрын
Great video 😊 shirt & sweet. A perfect sequel to the first part
@sibongiseninsele
@sibongiseninsele 3 ай бұрын
Hey. Thanks you. Well explained to a point dummies like me understood you first hand. No need to repeat your self. One extra subscriber right away. I want to learn more from you. Thanks
@mikem-zz4ui
@mikem-zz4ui 2 жыл бұрын
I wish google or godaddy were this clear in their documentation. Thank you! like a charm
@ARealLemonLime
@ARealLemonLime 11 ай бұрын
Thanks! This was an amazing tutorial!! Helped me a lot :p
@thomas_w
@thomas_w 3 жыл бұрын
Thank you, very helpful video with clear steps to understand, I have been trying to get my www domain to redirect to my apex one, and It finally works, really good Video!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
You're very welcome!
@ddjzx171
@ddjzx171 7 ай бұрын
Thanks tony for this clear video
@TonyTeachesTech
@TonyTeachesTech 7 ай бұрын
Very welcome
@wongstephen
@wongstephen 2 жыл бұрын
Thanks - was easier to follow this then the online docs
@dorothycai8991
@dorothycai8991 Жыл бұрын
This is so clear and helpful. Thank you!!
@jjglaser
@jjglaser Жыл бұрын
no idea why it said sucessful then 12 hours later it says unsuccesful and no website. about to give up
@mrstranger8388
@mrstranger8388 Жыл бұрын
Did you get any solution? ? Because currently I am facing same problem.
@RichardHorvatich963
@RichardHorvatich963 15 күн бұрын
For me, using windows CMD to clear server cache worked. Google "Clear sever cache" Open command prompt type in: "ipconfig/flushdns" Worked for me.
@pcls-tech
@pcls-tech 15 күн бұрын
Did you manage to solve the problem?
@jjglaser
@jjglaser 14 күн бұрын
​​@@pcls-techYes, I dont remember what exactly. As far as I remember there is 3 different methods and one of them worked, that did not involve copy and pasting those ip addresses...
@RichardHorvatich963
@RichardHorvatich963 14 күн бұрын
@@jjglaser empty your server cache using cmd prompt. You can Google how.
@FANSasFRIENDS
@FANSasFRIENDS 3 жыл бұрын
Very nicely explained!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Thanks!
@16RA
@16RA 3 жыл бұрын
TYSM! Helped a lot thanks :-)
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
kzbin.info/www/bejne/q3aXkp-gpLJ1m8k
@mannymetzger4143
@mannymetzger4143 7 ай бұрын
dude thank you. you made it too easy.
@Azend_1
@Azend_1 Жыл бұрын
Worked perfectly! Thankyou
@TonyTeachesTech
@TonyTeachesTech Жыл бұрын
You're welcome!
@dougie186
@dougie186 2 жыл бұрын
Thanks for this - very helpful!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Glad it was helpful!
@jamemieccs
@jamemieccs Жыл бұрын
it's really help BIG THANKS!!!
@TonyTeachesTech
@TonyTeachesTech Жыл бұрын
You're welcome!
@deshayq
@deshayq 2 жыл бұрын
Thank you! This worked for me.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Great!
@ThaReportar
@ThaReportar 3 жыл бұрын
Thanks a lot for the video !
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
You are welcome!
@jaronimoh
@jaronimoh 2 жыл бұрын
Great tutorial! I came here from your video on setting up GitHub pages. After setting up your custom domain, how would you navigate to the demo subdomain you set up?
@Notsoplain
@Notsoplain Жыл бұрын
Thank you Tony!
@berkslv
@berkslv 3 жыл бұрын
Thanks a lot, this video save me to read docs.
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Glad it helped!
@tech3425
@tech3425 Жыл бұрын
Thanks, this helped a lot. Nice hairstyle btw
@thedebapriyakar
@thedebapriyakar 2 жыл бұрын
brilliantly explained!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Glad it was helpful!
@jwally7523
@jwally7523 3 жыл бұрын
Hi Tony! Thanks for the video. I followed every step including changing my A records to the four IP addresses, and the custom domain worked on other browsers, but when i go to pages settings it still shows "Enforce HTTPS - Unavailable for your site because your domain is not properly configured to support HTTPS"
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Hmm, I'm not sure why it's unavailable for you
@bxnbrch
@bxnbrch 3 жыл бұрын
you need to buy an ssl certificate to use https on your domain
@sidkapoor9085
@sidkapoor9085 2 жыл бұрын
could you elaborate? how would I add those cerst to my hostinger custom domain?
@Alexanderzul
@Alexanderzul 3 жыл бұрын
nice tutorial simple faster and working
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Glad it helped
@GoobNoob
@GoobNoob 2 жыл бұрын
Very good Tutorial. Will be using this to host my personal website. Which I lucked out, and my real name is available.
@EUU100
@EUU100 3 жыл бұрын
Thanks a lot Also if it doesn't work for anyone else, when i switched the 'type' to CNAME instead of A it worked fine
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
👍
@dirtymike3329
@dirtymike3329 3 жыл бұрын
I still did the regular type A, but when I entered www, I set it to CNAME and put my custom domain as the data. Pure trial and error.
@_romeopeter
@_romeopeter Жыл бұрын
This was simpler than I thought. Thank you!
@TonyTeachesTech
@TonyTeachesTech Жыл бұрын
You're welcome!
@MrSammzie
@MrSammzie Жыл бұрын
thank you. i always wondered how i'd do this...now i can make updates right from my editor..isnt it fun to learn something new everyday?
@user-gj5ml9ik2s
@user-gj5ml9ik2s 9 ай бұрын
Great explanation thanks! My GH Pages panel is giving me a warning however saying that I should use CNAME instead of A-records for 'www'?
@G_m0ney
@G_m0ney 7 ай бұрын
Thanks tony
@peppesemproni913
@peppesemproni913 2 жыл бұрын
Thank you! 😎
@stormbytes
@stormbytes 2 жыл бұрын
Would be a good idea to link your other video where you explain how to setup a site on github pages.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Good idea. Linked in the description and here kzbin.info/www/bejne/pWbKXp-Lqquapsk Thanks Daniel :)
@SomeshSamadder
@SomeshSamadder 7 ай бұрын
Thanks man
@nanapeprahsamuel791
@nanapeprahsamuel791 Жыл бұрын
Hi Tony, nice video. Please what about WordPress
@zidanabraham_
@zidanabraham_ 10 ай бұрын
Thx bro
@GamerEmerald7200
@GamerEmerald7200 3 ай бұрын
If you go to the IP addresses mentioned in this video, they will take you to the 404 Not Found page. So therefore, since A records point domain names to IP addresses, you will be taken to the 404 Not Found Page if you go to his website. I don’t know why his website didn’t take me to the 404 Not Found page when I visit it. Can you help me?
@christopherrimplington3643
@christopherrimplington3643 Жыл бұрын
So, you're pointing Domain to Hosting instead of Hosting to Domain. I'm I right? Which way is best?
@marilyn.g
@marilyn.g 5 ай бұрын
If I use github for my website, what can i do so other people can't make changes to my website if they stumble upon it in github? Because if I make it private then it won't be public for people to see my website right? Sorry if its a dumb question. Thank you.
@sairomo6207
@sairomo6207 Ай бұрын
You need the paid plan to make your repo private while still allowing your site to be visible to other people
@moufdiayoubchikaoui2465
@moufdiayoubchikaoui2465 3 жыл бұрын
I still have the problem in github after doing a dns configuration could you help me plz
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
What is the problem?
@flarexlucifer
@flarexlucifer Жыл бұрын
​@@TonyTeachesTech I'm getting a problem dns_probe_finished_nxdomain
@block_hacks
@block_hacks Жыл бұрын
can you put the link to github pages DNS records in description?
@samsenolay2210
@samsenolay2210 Жыл бұрын
Hey bro. Does that mean you don’t need a hosting provider?
@HabibUllah-hg5jv
@HabibUllah-hg5jv Жыл бұрын
For adding a custom domain, we need to add txt, cname records too.
@FeranjaBanus
@FeranjaBanus 11 ай бұрын
God bless you my friend
@TonyTeachesTech
@TonyTeachesTech 11 ай бұрын
Thank you kindly
@WalmartFan0
@WalmartFan0 11 ай бұрын
Hello. I am using squarespace and it says on github that it is not formatted correctly and to add a CNAME record linked to my pages site. Can you do a CNAME to pages site tutorial or just tell me in the replies? anything helps
@Arifur-Rahman
@Arifur-Rahman 2 жыл бұрын
Thanks a lot.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Most welcome Arifur!
@angaritag
@angaritag 3 жыл бұрын
Any recommendations on how to get dynamic websites published? I noticed you answered someone's question that this method still only pushes static content. I was hoping it would get around that
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Only static websites will work here
@Navneetkaur001-s
@Navneetkaur001-s 7 ай бұрын
Hey... shall we buy domain name before using in github ? or it is for free ?
@kyanite4818
@kyanite4818 10 ай бұрын
How do I do this with squarespace domain and GitHub pages? I can enter one custom record at a time and receive and error message stating that they are unable to save this record. And can I do this with the free version of GitHub?
@gabrielbalang5694
@gabrielbalang5694 2 жыл бұрын
can i ask a simple question? is that shirt just a merch or u actually work in it?
@dustinjoosen5901
@dustinjoosen5901 2 жыл бұрын
Hi. i had it working for about a day and a half, but suddenly it has stopped working. It suddenly started redirecting me to the 'this domain is reserverd' page. Is there something new that should be updated? thanks!
@christopherforce6542
@christopherforce6542 3 жыл бұрын
Thanks!
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
No problem!
@tahmidurrahmaneram
@tahmidurrahmaneram Жыл бұрын
What is the difference between the @ and www? Thanks
@darkflame2805
@darkflame2805 2 жыл бұрын
Thanks you sir 😭🙏🏻
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
You're welcome!
@JessPifko
@JessPifko Жыл бұрын
my hosting site is asking for the "host". Would this be "@"? & "www"? Thanks in advance!
@sirstegi
@sirstegi Жыл бұрын
You have to buy a domain in order to own it and configure it and only then you are able to add your domain as a custom domain to your github page right?
@HearsH96
@HearsH96 2 ай бұрын
Yes How else will you get your SSL certificate?
@conorm2524
@conorm2524 2 жыл бұрын
Thank you for the video. It's helping! I have an issue with GoDaddy. I am able to paste in the four IP addresses with the "@" but when I try it with "www" it says I must use "@", "sub-domain" or "wildcard (*)". I have no idea what's going on!
@itierney
@itierney 2 жыл бұрын
Hey Conor, I'm having same issue on godaddy. Did you find a solution?
@Kfoo-dj4md
@Kfoo-dj4md 2 жыл бұрын
check if you already have a CNAME record on www, and delete it, might help
@selormapoh9334
@selormapoh9334 Жыл бұрын
Will I have to pay for my own domain name before I can use it on the custom domain page on GitHub. Also, if yes, is there any site where I can get a free one?
@stilian7542
@stilian7542 2 жыл бұрын
Hey, when i go to the repository settings there is no Github Pages section. Any thoughts ?
@gusschafferr
@gusschafferr Жыл бұрын
thanks!
@TonyTeachesTech
@TonyTeachesTech Жыл бұрын
Welcome!
@daawesomeman2859
@daawesomeman2859 4 ай бұрын
this video came out ages ago but i just wanted to say that my site now says redirected too many times
@voodazz
@voodazz 2 жыл бұрын
How do you make changes to your site once your custom domain is live?
@HearsH96
@HearsH96 2 ай бұрын
You can use GitHub to push changes to your repository
@Luckkify
@Luckkify 3 жыл бұрын
are u required to have the repo set up to push builds to main or does it also work to have the builds push to gh-pages branch while also using a custom domain?
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I don't see why a branch wouldn't work (but I could be wrong)
@fifier
@fifier 2 жыл бұрын
thanks
@panture9561
@panture9561 3 жыл бұрын
You should do a video about ssdnodes or about static site generator
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Thanks for the suggestion
@BanjiYT
@BanjiYT 3 ай бұрын
holy shit thank you
@alfabettabe
@alfabettabe 2 жыл бұрын
Worked as a charm, seen a few vids and you helped me a few times, forgot to sub - please forgive me as i'm doing that now --- SUBBED :D
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Really appreciate it :)
@Al_Muarid
@Al_Muarid 10 ай бұрын
i have an issue when adding a custom domain to GH pages, when I try to save it there's "DNS check in progress" going on for ever, do I need to add those A records with IP-addresses first, and then retry adding it? If anyone has any idea, please help
@tugbamuhliseokyay9993
@tugbamuhliseokyay9993 2 ай бұрын
we still need to find a host?
@edberaga
@edberaga 2 жыл бұрын
We don't really have to pay something? is there any limitness for this?
@GhostVistaz
@GhostVistaz 2 ай бұрын
im using cloudflare and it doesnt let me add multiple ips
@bhavaytyagi8462
@bhavaytyagi8462 Жыл бұрын
As soon as I add custom domain to GitHub the enforce https button gets unchecked and Im unable to enforce it. HELP ME!!
@ximenarodriguez5845
@ximenarodriguez5845 2 жыл бұрын
When I set gooddaddy or google is still free ?
@bartekkupski395
@bartekkupski395 Жыл бұрын
why anchor links doesn't work on githubpages ?
@edwinsmith3178
@edwinsmith3178 Жыл бұрын
ty
@Ankushdas2001
@Ankushdas2001 3 жыл бұрын
So cool, can we host dynamic websites as well
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Unfortunately not on GitHub Pages
@minutesensei
@minutesensei 3 жыл бұрын
how much do we have to wait , 24 hours for it to get live?
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
At most I would suspect
@phonnary396
@phonnary396 Жыл бұрын
How to index customer domian
@akurti
@akurti Жыл бұрын
why does private browser shows it correctly and normal browser dont?
@salvatoreamaddio2983
@salvatoreamaddio2983 Жыл бұрын
Hero
@BhavaySaarangTyagi
@BhavaySaarangTyagi Жыл бұрын
Unable to enforce HTTPS please help
@blackboxbs8642
@blackboxbs8642 3 жыл бұрын
where do you get those ip addresses?
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Which ones?
@blackboxbs8642
@blackboxbs8642 3 жыл бұрын
@@TonyTeachesTech the one you had to enter in dns records. never mind i had already fixed
@efexzium
@efexzium 2 жыл бұрын
What's the @ for ?
@donaldduckquack2065
@donaldduckquack2065 2 жыл бұрын
Thank you very much, man. Your effort decreased my effort by a lot.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Glad I could help!
@ThisPossumKnits
@ThisPossumKnits Жыл бұрын
Good info... but I just can't sub because of the water... 🤣
@ilovepizza8263
@ilovepizza8263 3 жыл бұрын
i added all the ip adresses aND the CNAME www to my github account and still issues
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Uh oh, what's wrong
@ilovepizza8263
@ilovepizza8263 3 жыл бұрын
@@TonyTeachesTech stupid mistake. I did it on a dns setting “template” … not in the actual dns settings for my domain lol.
@yassinbagane
@yassinbagane 2 жыл бұрын
i get blank page any solution ?
@calvincrane
@calvincrane 2 ай бұрын
As an SEO I wouldn't set the www unless you have history and want to use this dinosaur. Google will see that as an entirely different URL and you will then need to manage the redirection. No you don't get penalised!
@hugoplays8220
@hugoplays8220 2 жыл бұрын
So I need to buy a domain ?
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Not necessarily. You can use the free subdomain that GitHub provides like I demonstrate here kzbin.info/www/bejne/pWbKXp-Lqquapsk
@harrisandreson
@harrisandreson 3 жыл бұрын
Hi to all
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Hello there :)
@ilovejesus.100
@ilovejesus.100 2 жыл бұрын
Links is "HTTPS" free?😃
@KatDog-jl3fs
@KatDog-jl3fs Жыл бұрын
mine is just a white page
@mwbgeometrydashpcaccount6372
@mwbgeometrydashpcaccount6372 3 жыл бұрын
it won't show the stuff below github pages
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Oh?
@siddhant2002
@siddhant2002 2 жыл бұрын
I want Remove this how can i do that
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
I don't know
@mwbgeometrydashpcaccount6372
@mwbgeometrydashpcaccount6372 3 жыл бұрын
sorry nevermind i was on the wrong page of settings its probably just me for having windows 10 instead of mac like you do
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Okay, happy you figured it out
@Rozendox
@Rozendox Жыл бұрын
why you just jump to google domains?
How to Create a Free Website Using GitHub Pages
12:34
Tony Teaches Tech
Рет қаралды 311 М.
Делаем с Никой слово LOVE !
00:43
Привет, Я Ника!
Рет қаралды 4,5 МЛН
What if all the world's biggest problems have the same solution?
24:52
you STILL need a website RIGHT NOW!! (yes, even in 2024)
19:15
NetworkChuck
Рет қаралды 542 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 77 МЛН
How to Make a Data Science Portfolio With GitHub Pages (2024)
13:18
How to use your Custom Namecheap Domain Name for GitHub Pages
6:41
Web Dev Tutorials
Рет қаралды 12 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
Deploy your website for free with Cloudflare Pages and GitHub!
13:47
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,9 МЛН
How to use your Custom GoDaddy Domain Name for GitHub Pages
6:05
Web Dev Tutorials
Рет қаралды 37 М.