How to Host a Website On Github Pages

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

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

  • @KennyYipCoding
    @KennyYipCoding  2 года назад +28

    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 Год назад

      mewo

  • @alejandrodominguezvalle1666
    @alejandrodominguezvalle1666 8 месяцев назад +31

    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.

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

    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

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

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

  • @NoahM21
    @NoahM21 6 месяцев назад +8

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

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

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

  • @bogdanshymuk513
    @bogdanshymuk513 10 месяцев назад +1

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

  • @appleapple1763
    @appleapple1763 2 года назад +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 Год назад +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 6 месяцев назад

      same 😢😢

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

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

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

    Thank you so much for the best tutorial vid! I had spent hours to figure out how to desply a website on github pages and finally here I am. Problem solved :) Great video!

  • @nilanshpathakk760
    @nilanshpathakk760 11 месяцев назад +5

    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 9 месяцев назад

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

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

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

  • @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'!

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

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

  • @HemaTBoS
    @HemaTBoS 10 месяцев назад +1

    Subbed and thanks!
    Questions though:
    1) Maximum number of repos on one account?
    2) Maximum number of websites on one account with different repos?
    3) How to use GIT to publish changes instantly?
    4) Can others see my code and able to fork it?
    Thank you Kenny for this awesome tutorial!

    • @KennyYipCoding
      @KennyYipCoding  10 месяцев назад +2

      Not sure about the actual memory usage, but if public, you can host many static websites. I have 20+ repos hosted due to my JS game projects tutorial series, which you can find on my channel, or on kennyyipcoding.com .
      Git is a separate tool that I haven’t made a video on yet. Maybe I’ll add that to the list!
      Others will be able to see and copy your code if it’s public. if you want to be able to host your website on GitHub and keep it private, you will need to pay for a subscription. Aside from that everything else is free !

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

    ❤❤❤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

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

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

  • @JoshV_TX
    @JoshV_TX 9 месяцев назад +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.

  • @Abdallah_Ismail
    @Abdallah_Ismail Год назад +8

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

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

    Brooo the tip you gave in the last is EPICCCC

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

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

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

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

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

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

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

    Thank you for the video, one small note, looks like it's case sensitive, my page didn't work with "Index.html", I had to make it lowercase "index.html" and it worked.

  • @witherredaway
    @witherredaway 2 года назад +3

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

  • @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!

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

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

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

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

  • @arunpoti
    @arunpoti 2 года назад +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.

  • @alessandrodhafay.2410
    @alessandrodhafay.2410 5 месяцев назад +3

    how to make landing page bro?, my github dont to execute all my html, css and js, do you have a solutions?, 404 not found and wait like a 10 minutes and just same, pls help

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

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

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

    Great streamlined video Kenny. Thanks

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

    Crystal clear instruction! 100/100!

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

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

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

    Thank you Kenny for solving my problem .

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

    Very helpful! thank you! 👏

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

    Thank you. You made it so simple.

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

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

  • @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

  • @filipthedev4159
    @filipthedev4159 2 года назад +6

    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

  • @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.

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

    Hello! I hope this gets seen, it's been about 2 years since this video was published.. Can you please make a tutorial of how you got the pages to link together? Time stamps of 4:45-4:52 as visual example of what I'm referencing. I've tried just standard linking between pages like I do in Visual Studio code, but it's failing and I'm not finding a youtube tutorial on how to do it nor in the resources on github pages. I'm looking to do exactly what you did to link your 2 pages, and I'm at a loss atm on a solution...

    • @KennyYipCoding
      @KennyYipCoding  5 месяцев назад +1

      What do you mean by link? You mean clicking a link from one page leading to another? That’s an html tag

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

      @@KennyYipCoding Right, yes an html href tag, but it won't link properly between the files on github pages. Could you make a tutorial showing how you got it to work with linking them together please?

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

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

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

    Thank you for this! Helped a ton

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

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

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

    Thanks for the video.
    I have two questions please.
    1. Must we name our file as "index.html" ?
    2. Then, I can only see "None" option in the source.
    How can I solve this problem?
    Thank you!

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

      Yes because “index.html” is the landing home page. Otherwise the browser will not know which file to load first when you land on the website.

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

      @@KennyYipCoding
      Thank you sir.
      What about css?
      Can it also be in "index.css"?

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

      @@ayindejubrilolarewaju8193 CSS and JS files can be whatever

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

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

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

    thx! This was helpful and straight to the point

  • @silkcharmeuse-f4x
    @silkcharmeuse-f4x 9 месяцев назад

    this was very helpful, thank you !

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

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

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

    Finally, it worked for me! Thank you so much.

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

    Thanks a lot man straight to the point ❤

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

    thanks it is very helpfull🤗

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

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

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

    WHen I upload files... Do I need to upload fonts and images and stuff too??? Or just the html, css, and js files?

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

      If your website uses images and fonts, you need to provide those too. Otherwise, your html file wouldn’t know where to find these images/fonts if they’re not stored together

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

      @@KennyYipCoding Thank you! My website works 100% now

  • @Mommy_milkers1226
    @Mommy_milkers1226 2 года назад +2

    i am having an error not found. i tried what you said at the reply at the bottom comment. i also tried what he tried using /doc instead of /root yet same error then i look at the "actions" there is an error in build it says the error is from "build with jenkyll"

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

      I see this same thing, did not show a link after I hit save

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

      Nvm, I read some more comments and refreshing did work

  • @MohammadKhan-l8j
    @MohammadKhan-l8j 10 месяцев назад +1

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

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

    Thanks man this video was so helpful

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

    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

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

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

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

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

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

    thanks you for this knowledge i learned something today 😃

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

    reaally helped soo much thankssssssssss😍😍😍😍

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

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

  • @MaazShaikh-ji2fq
    @MaazShaikh-ji2fq 2 года назад +3

    I am getting readme file as the result on the hosted website and not the index.html one. Any solutions?

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

      This means that your repo is missing an index.html file, which should be at the root level of your directory. Make sure you updated your repo with your files.

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

    thanks a lot for this very useful video

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

    Thanks for the tutorial!

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

    this has helped me so much!

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

    Can Pages look into a folder to find .html so that it does not grab only the readme? Or will I have to move the html out of the folder

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

      Your index.html should be in the root folder since that’s the landing page, any other html files can be in other folders

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

    Thanks you, but this means when I apply any change on my website codes, I will have to reupload the website file codes again, or?

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

      You can modify the code directly on the GitHub website if it’s a quick change. Or you can drag and drop and it’ll replace the existing files with new files. Or you can use git to commit and push the changes. Either way you need to make sure your changes are applied to the files in your GitHub repo. The website will update automatically in a few minutes.

  • @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

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

    Thank you. It was very helpful.

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

    So is a repository the same thing as a folder? Its sounds like you're saying I can create various repositories under my account to host more than one website. Also, I signed up for github but can find github pages anywhere.

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

      yes, pretty much. You have to go to your repo, select settings, and select pages from there.

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

      @@KennyYipCoding Thank you but I finally found it. My problem was that I didn't make my repository public. I just assumed that it should be private until I was ready to publish it. But it turns out that due to another feature, a paid feature, you can't access Github Pages for free until you make your repository public. THEN you can access Github Pages for free. But if your repository is still private, it will keep directing you to sign up for a paid account before you can access Github Pages. It's all because under a paid account, you can publish a website and still have it remain private. So then as long as your repository is private, it will keep directing you to sign up for a pro account. In the end it worked really well. Its a bit over engineered for my purposes right now (posting a website) but eventually, I want to get back into coding so it will probably come in very handy.

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

    Nice simple video. I like.

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

    @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?

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

    Can you update the site via committing new/updated code like normal repositories....or do you need to make a new rep for every update to the site?

    • @KennyYipCoding
      @KennyYipCoding  10 месяцев назад +1

      you dont need to make a new repo, if you update a file, for ex) adding more html content to a file, after a few minutes, your github website should update to reflect those new changes

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

    thanks bro
    thats some real help for me

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

    Thank you for your video. Is it possible to run a php code on github?

  • @pratibhanishad1093
    @pratibhanishad1093 2 года назад +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  2 года назад

      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

  • @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?

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

    Thank you man help a lot!

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

    seems the name of html file must be index.html? And even i ve upload my files,the page still can't download css file from outside, but when i make the css into html file, it works, i don't know why

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

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

  • @TheH75914
    @TheH75914 2 года назад +2

    Does anyone know why you can only deploy a static website to github?? Like why cant you deploy one that contains server code? Does anyone know any web hosts that are free where you could deploy a website that is using web code like python with flask or socket?

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

      Did you ever get an answer to this? I'm running into this issue right now

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

      @@ultimatesubzero1 Not quite, but I think AWS is a good solution

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

    It works! Thank you

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

    should we upgrade to pro version?

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

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

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

    Great video. But I have an issue. I followed step by step as you described in your video but my site only displays my repository name and doesn’t display anything that I coded in my html file. Is there something I did wrong?

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

      Your landing page should be an index. html file

  • @saponiblood
    @saponiblood 2 года назад +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 Год назад

    Thanks properly explained.

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

    Is there any where to find this web page files that you used here?
    just to have a quick test , sorry honestly i am still a dummie in HTML, definitely a lot to learn!
    By the way great video! keep up the good work!

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

      You may go on my GitHub, clone any project repo, and try to host it on GitHub with the steps given

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

    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

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

    You saved me so much time

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

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

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

    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.

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

    If i do not know HTLM can i still use word press or wixx? I am trying to build a website but i do not want to pay per month for example on wixx or word press

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

      HTML CSS and JAVASCRIPT are the code behind webpages. When you use wix or word press, you are given an interface to create your own webpage but underneath that, it all gets translated into code. So without having a source of HTML/CSS /JAVASCRIPT, you cannot have a webpage.

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

    This is a very good video thank you.

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

    Has anyone ever had issues with their Github account where you couldn't publish a repo to Github pages, the Save button is constantly disabled and you have this message: Your GitHub Pages site is currently being built from the master branch. Learn more.
    However nothing is ever built...

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

    Lets say I already made a base website and code, but I had edited it locally. How would I change the file on github?, would it just update automatically to what I made as changes or do I have to reupload the file.

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

      If you drag and drop your file, it will upload and replace the existing file of the same name

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

      Thanks!@@KennyYipCoding

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

    that's so helpful thanks a lot❤