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 😄!

Комментарии • 47

  • @KennyYipCoding
    @KennyYipCoding  Год назад +2

    Check out the playlist of web project tutorials here!
    ruclips.net/p/PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q
    Got a tutorial suggestion? Let me know down below!

    • @wgofficial4115
      @wgofficial4115 Год назад

      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?

    • @_mridul_
      @_mridul_ 11 месяцев назад

      Hey! Do the visitors to the site also have to wait for so long for the website to load?

  • @user-pj3ix3xk6p
    @user-pj3ix3xk6p 11 месяцев назад +27

    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?

    • @nachos4018
      @nachos4018 6 месяцев назад

      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.

    • @lilduckeyy
      @lilduckeyy 4 месяца назад +1

      wait you’re being serious?

    • @Thegamer_channel
      @Thegamer_channel Месяц назад +2

      @@lilduckeyyYeah he’s being serious!

  • @Userjdanon
    @Userjdanon Год назад +5

    Tutorials well done. Short and informative. The explanations are also very precise!

  • @18wheelslater3
    @18wheelslater3 Год назад +10

    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.

    • @taterino2722
      @taterino2722 Год назад +1

      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.

    • @viralpatel962
      @viralpatel962 11 месяцев назад

      I'll try this... let's c.

  • @gfickel
    @gfickel 7 месяцев назад +2

    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

  • @adityasinha3851
    @adityasinha3851 Год назад +10

    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

  • @radercorey
    @radercorey 8 месяцев назад +1

    This was very helpful. Thank you.

  • @niX.99
    @niX.99 7 месяцев назад

    Thanks Kenny, this video is easy to understand.

  • @WatchMatt
    @WatchMatt 9 месяцев назад

    Nice and clear explanation, you helped me configure my custom domain, thank you!

  • @kuoyulu6714
    @kuoyulu6714 5 месяцев назад

    thanks alot, this is really clear and easy to follow!

  • @taohu5731
    @taohu5731 Год назад

    pretty straightforward, thank you

  • @25castro25
    @25castro25 2 месяца назад

    Very helpful, thank you!

  • @miqueiasfernandes8396
    @miqueiasfernandes8396 Год назад

    Thank for this demonstration video!

  • @stewtech
    @stewtech Год назад

    Well Done, Thank You!! Looking forward to more videos!!!

  • @Rioni
    @Rioni Год назад +2

    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)

  • @yaeltzruia8157
    @yaeltzruia8157 Год назад

    great tutorial! thank you!

  • @tech3425
    @tech3425 Год назад

    Thanks, this helped a lot

  • @Undrios
    @Undrios Год назад

    Thank you ❤️ very helpful 🔥

  • @vnr725
    @vnr725 6 месяцев назад

    Thanks! it helped.

  • @betitoroks
    @betitoroks 2 месяца назад

    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?

  • @SamuelCoupland
    @SamuelCoupland 6 месяцев назад

    Thanks for this

  • @emanu98
    @emanu98 Год назад

    Great video!

  • @sumsumcity841
    @sumsumcity841 Год назад

    Thanks mate!

  • @conNen83
    @conNen83 Год назад

    Thank you!

  • @babida9113
    @babida9113 Год назад

    Thank you

  • @davidrocha4767
    @davidrocha4767 Год назад

    Hey, my domain is from Hostinger. On adding DNS Records the field cant be empty. What should i do?

  • @Nobody-eg4bi
    @Nobody-eg4bi 4 месяца назад

    what is about AAAA records we don't need to set them at all?

  • @jjglaser
    @jjglaser Год назад

    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.

  • @wild7claw
    @wild7claw Год назад

    Thanks

  • @shneor.e
    @shneor.e Год назад +2

    how does GitHub know the domain you entered belongs to you? I didn't see any verification steps

  • @JohnSmith-bs9ym
    @JohnSmith-bs9ym 8 месяцев назад

    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.

  • @chairchairyes2524
    @chairchairyes2524 Год назад

    hi, do you know how you would do this on 123reg?

  • @dh00mketu
    @dh00mketu 10 месяцев назад

    Does it work for http domains as well?

  • @utsabdahal5417
    @utsabdahal5417 Год назад

    my page always redirects to another github repository while I try to add custom page in Github. Can you help?

    • @KennyYipCoding
      @KennyYipCoding  Год назад

      Your GitHub domain is linked to all the repositories. You have to rename the repository or the file

  • @marballesteros2063
    @marballesteros2063 Год назад

    Primera en comentar 🙌🏼

  • @mayaannora8765
    @mayaannora8765 Год назад

    P r o m o s m 😕