How to Host a Website On Github Pages

Поделиться
HTML-код
  • Опубликовано: 18 июн 2022
  • How to Host a website on Github Pages. We can host a static HTML website for free on Github. You can only host static websites (HTML, CSS, JavaScript, including react, angular, bootstrap). You won't be able to upload a web application with a server (python flask/django, ruby on rails, node.js/express, etc).
    The steps are as followed:
    1. Create a GitHub account and login
    2. Create a repository and name it {username}.github.io if it's a personal website; else, name it whatever you like.
    4. Upload your web page files to the new repository
    5. Go to settings, pages, and click on source. Change 'none' to 'master' or 'main' (or whichever branch you'd like)
    Your website will have this structure: {username}.github.io/{repository-name}
    To add a custom domain to your website, check out this video:
    • How to add a Custom Do...
    Website: www.kennyyipcoding.com/
    Java Game Programming Projects Playlist:
    • Java Game Programming ...
    JavaScript Game Programming Projects Playlist:
    • JavaScript Game Progra...
    Subscribe for more coding tutorials 😄!

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

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

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

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

      Sir, the images in my website are not loading in it. Pls give me solution

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

      do we need any consistent network source like wifi for fast processing?

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

      mewo

  • @PandMissElysea
    @PandMissElysea Год назад +24

    Thank you so much! In simplest terms and straight to the POINT unlike other videos.

  • @abhishekpawar7191
    @abhishekpawar7191 Год назад +23

    Great video man !!! Straight to the point without complicating things. Thank you so much ❤️

  • @theemeraldend4302
    @theemeraldend4302 Месяц назад

    This is the video I shall go to from now on to get my tutorials. Thank you. First guy to actually tell me how to deploy a webiste

  • @alejandrodominguezvalle1666
    @alejandrodominguezvalle1666 3 месяца назад +4

    My brother in Christ this is THE VIDEO. Thanks a lot for skipping the bs and going straight to the point. As a token of my appreciation here is my humble 'subscribe' button hit.

  • @sp.2778
    @sp.2778 2 года назад +11

    This is a great video, and the only one that actually helped me! Love your channel, keep the helpful videos comin'!

  • @sahasrabhujaneuron5975
    @sahasrabhujaneuron5975 Год назад +3

    I love this tutorial! It's simple and short and easy to follow! Many thanks!

  • @xplosionbox
    @xplosionbox 11 месяцев назад +1

    Long live Friend!! Clear and specific instructions. I hosted my website in less than 10 minutes.

  • @neverforgetcole
    @neverforgetcole Год назад +11

    After watching so many videos, this is the one that made deploying websites on Github super clear. Thanks!

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

    Thanks so much, mate! Straight to the point, I could solve my issues with GitHub Pages and now I have my own. Cheers!

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

    thanks for getting straight to the point, without any unnecessary chit chat!

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

    Your channel is so underrated! Thank you for some great videos

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

    Thanks for the clarity man, this video was really helpful and educational.

  • @Abdallah_Ismail
    @Abdallah_Ismail 11 месяцев назад +8

    Great video man !!! Straight to the point without complicating things. Thank you so much for the extra tip❤

  • @witherredaway
    @witherredaway Год назад +3

    Thanks for the awesome, precise and to-the-point video.

  • @angelc752
    @angelc752 2 года назад +1

    thank you so much for talking about all the details!! It helps me a lot!! :)

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

    Thanks bro. have been stuck for ungodly amount of time.❤

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

    thank you!!you went straight to the point and you aced it.

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

    That was very helpful! Thanks! I just signed up for github, and I published my website.

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

    Great streamlined video Kenny. Thanks

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

    Brooo the tip you gave in the last is EPICCCC

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

    This had to have been the most simple explanation that I've come across for this. Thank you a bunch

  • @ElixerPrince
    @ElixerPrince 4 часа назад

    Thank you so much! This entire time I thought it was mandatory to use my ysername. I had everything in separate folders ordered by project name.

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

    Crystal clear instruction! 100/100!

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

    Thanks a lot man straight to the point ❤

  • @bluboy6482
    @bluboy6482 7 месяцев назад

    thank you very much I just hosted mine, straight to the point

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

    ❤❤❤thank you so... Much this video is simple and straight forward. I was able to upload my website in few minutes because of this tutorial, may Allah bless you abundantly
    Thank you once again

  • @tanjane9280
    @tanjane9280 7 месяцев назад

    Thank you for this! Helped a ton

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

    This helped me out a lot! Thank you so much!

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

    Thank you Kenny for solving my problem .

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

    u are life saver bro thank u so much u removed my biggest problem in mins

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

    Your video helped me a lot on hosting , thanks bro.

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

    I had to login and give you a sub bcos you help me a lot of time. Thanks dude

  • @FnDraws
    @FnDraws 2 месяца назад +1

    Very helpful! thank you! 👏

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

    thx! This was helpful and straight to the point

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

    Thanks man this video was so helpful

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

    My Gosh I had so much trouble uploading my site and this video was soo good thank u so much 😄😄😄

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

      did u publish your file to a public website for free?

  • @NoahM21
    @NoahM21 Месяц назад +1

    It works, thank you, I managed to create and publish a full website from my phone without using the PC.😻😻😻

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

    Thanks for the tutorial!

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

    Thank you for the great video. I am following a path from CodeCademy and it had me upload a site. The site didn't go up immediately for some reason. I followed your video to ensure that I did everything correct and looked at my settings and all was good. It took almost 30 minutes to upload and go live. Just a heads up for anyone whos site doesn't go live in 1-10 minutes it may take longer.

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

    In first sentence the whole confusion gone .. server related issue . Thanks brother

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

      any idea what to do for alternative

  • @appleapple1763
    @appleapple1763 Год назад +31

    i can see different things in setting, when i cleck the source " i can see only two things, 'github actions', 'deploy from branch' but it doesnt work when i click either one.

    • @nkemdavis42
      @nkemdavis42 Год назад +3

      It will automatically generate your static website for you

    • @anacletocorbeta3846
      @anacletocorbeta3846 11 месяцев назад +3

      The answer for this is you need to select "NONE" and save once you do that back to deploy from branch again select again the main and save then you will see it will genarate static website for you, hope it will help those who has a problem on this.

    • @belalmohamed8900
      @belalmohamed8900 Месяц назад

      same 😢😢

  • @user-st4hu2ih7u
    @user-st4hu2ih7u 4 месяца назад

    this was very helpful, thank you !

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

    thanks bro
    thats some real help for me

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

    Thank you man help a lot!

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

    Thank you. It was very helpful.

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

    this has helped me so much!

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

    thank you thank you thank you! very clear

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

    This is a very good video thank you.

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

    Great video thank you so much!

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

    thank you very much. it is the most understandable video.

  • @nilanshpathakk760
    @nilanshpathakk760 6 месяцев назад +3

    i had many more files, like style.css, some js files and pictures in the website, if any of you have tried, it was not working. The fix is instead of /root in hosting pages, select /docs

    • @DivyaDharshiniPA
      @DivyaDharshiniPA 4 месяца назад

      bro, this is a time saver. needed that.thanks!!

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

    thanks alot! im balls deep in full stack but I couldnt quite get the live server up lol. keep up the great work~

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

    Thanks properly explained.

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

    thanks you for this knowledge i learned something today 😃

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

    that's so helpful thanks a lot❤

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

    Thank you so much. I've been in diploma, now degree. And still no subject on getting online. How awful. Thank you again.

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

    Nice video, thank you!

  • @chickennuggies0242
    @chickennuggies0242 Месяц назад

    You saved me so much time

  • @hunin27
    @hunin27 8 месяцев назад

    thanks, i did not get that pop up but it still worked

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

    thanks it is very helpfull🤗

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

    Thank you so much. I managed to create the page but i have a problem. I cant update the page with "git push origin master" or "main" . I am getting a fatal error. Any idea?

  • @aksimator2
    @aksimator2 Год назад +3

    thanks a ton!

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

    Great tutorial! One question tho, the file extension trick here tho, does that mean, if the deletion of the file extension would cause issue to open it locally, does that mean we have to add the file extension back whenever we want to open the webpage locally? If we develop the page locally fairly frequently and commit them to git, and every time we do so we have to delete multiple files' extension, wouldn't it be very annoying?

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

      no it overwrites it. I suppose you mean when for example you upload like "web.html" and you then change the original code and put it back. If it has the exact same name it will just delete the previous one automatically

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

    reaally helped soo much thankssssssssss😍😍😍😍

  • @dev.bojack
    @dev.bojack Год назад +1

    Great video
    Thanks

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

    thank you! my stakeholder took down the website or stopped paying for it and I just noticed! I was applying with a project link that didnt even work

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

    This is such a great and useful video...Really Helpful...Thank you soo much 😍😍😍😍

  • @metallightning55
    @metallightning55 7 месяцев назад

    Thank you so much!!

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

    Thanks a lot !

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

    Follow your step, but there is no URL pop up on my github settings. help ?

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

    what does a landing page for your personal website look like?
    so when you go to your profile, it brings you to your personal website?
    how does it work.

  • @nickossts8091
    @nickossts8091 3 месяца назад

    @KennyYipCoding what if i have made a personal website with html,css with flask and python and i want to publish it as a website i cant?

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

    Thanks for the information:- "Only static website can be hosted in Github". I had searched lot(Google as well in youtube) as how to host node website. I did hosted a static website using github and I assume that node application will also hosted same manner using github. Now i understood for node app it will not work using github.

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

      Bc, they'd lose ton of money if they allowed that for free.

  • @user-sd3mj8if6o
    @user-sd3mj8if6o 5 месяцев назад +1

    The pop-up didn't appear with the link to my site...any ideas? Thanks

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

    helped a lot thanks

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

    So I can't do something like setting up a Flask backend that will be called later by another device?

  • @Alpha-rb6iu
    @Alpha-rb6iu 4 месяца назад

    I just want to ask why my webpage doesnt apply my css and javascript file when I open it in web. I uploaded all the files needed in github

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

    Thank you so much broo it workss i love you...

  • @filipthedev4159
    @filipthedev4159 Год назад +7

    I do the exact same thing but it doesn't give me a link
    Edit: Nevermind I opened it again and this time it showed up. This time I chose from /root instead of /docs so my guess is the /root made it work

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

      @@saisandeepmandapaka1561 i really don't know how to help, that pages stuff is still confusing to me. Although i remember sometimes it needed like 5-210 minutes to generate a working link

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

    Thanks a lot ☺️

  • @davidcrejenovschi7056
    @davidcrejenovschi7056 Месяц назад

    this is very helpful. fallow the steps

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

    does anyone have the issue where they dont see their local images displayed when publishing your html file on github?

  • @user-ud2sy4yd3u
    @user-ud2sy4yd3u Месяц назад

    Great video❤

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

    How about moving the #about from your extension? Can you do that?

  • @JTJaniceTek
    @JTJaniceTek 8 месяцев назад

    i built a website and successfully uploaded iton my repository but the images on the website are not displaying, any idea how i can solve this issue? thank you so much

  • @tonkofonko
    @tonkofonko Месяц назад

    Thx it works.

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

    Thanks so much you awesome ❤❤❤

  • @YURTZYN42
    @YURTZYN42 4 месяца назад

    Great video! Are there ways to implement widgets onto a site via guthub?

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

    I do all of steps but in pages write your personal host but i want to publish and get publish url for my project that can be search on internet and see project
    would you pleas help me?

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

    Thanks alottt for this

  • @user-th5gq3ez8b
    @user-th5gq3ez8b Год назад

    what about the situation, where I have html file in src folder

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

    should we upgrade to pro version?

  • @manishapandey4220
    @manishapandey4220 4 месяца назад

    Thank You!

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

    What do I do if I don't get the pop-up saying "Your site is ready to be published"

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

    Why does my say live instead of publish? Does it matter? And my website works but my back ground image and all that doesn’t it.

  • @geoffreycallaghan9649
    @geoffreycallaghan9649 2 года назад

    If you need to add a from to a static website I would use fabform.

  • @abhishekkumar-ot4zo
    @abhishekkumar-ot4zo Год назад +1

    sub pages are not working it is showing that There isn't a GitHub Pages site here.

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

    Thank you bro

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

    I have one index.html but I also have other HTML files. After hosting pages only index.html is working while other HTML file are not . What should I do?

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

      Do you have links to these other web pages? Make sure you have the correct path to these html files. You can also try typing that path in on the url. For example if you have an about html, type in [website]/about.html