Host website on github for free in just 2 mins

Sdílet
Vložit
  • čas přidán 16. 09. 2023
  • Hey guys, in this video I will show you how to host a frontend website live using GITHUB Pages for free, it's super easy and fun !

Komentáře • 169

  • @parasi8699
    @parasi8699 Před 5 měsíci +26

    Thanks , my issue wasn't directly related to this video , but you did few steps on build and deploy page which actually fixed my issue.

    • @TheWword
      @TheWword Před 2 měsíci

      how much it took for DNS ropogation?

  • @dhokiarinidh9809
    @dhokiarinidh9809 Před 6 měsíci +28

    Thank you for the quick and brief demo

  • @nilanshpathakk760
    @nilanshpathakk760 Před 6 měsíci +22

    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

    • @rohitk472
      @rohitk472 Před 5 měsíci +2

      i tried to deploy my react project, but its just showing me empty page ,, what should i do ??

    • @mfdnl
      @mfdnl Před 3 měsíci

      @@rohitk472 i got the same problem too, have you found the solution?

    • @abby-1020
      @abby-1020 Před 2 měsíci

      @@rohitk472 same question

  • @investorswatch
    @investorswatch Před 5 měsíci +2

    Thank u so much! Clear and on point tutorial.

  • @chessclub92
    @chessclub92 Před 7 měsíci +6

    what if my application is written in react.js and express js?

  • @juhikumari-ex5wz
    @juhikumari-ex5wz Před 7 měsíci +3

    thanks it cleared all my confusions specially that yellow dot

  • @fahmidapinky9311
    @fahmidapinky9311 Před 2 měsíci

    Thank you so much. It was helpful. I just published my page watching this video.

  • @satyambansal728
    @satyambansal728 Před 7 měsíci +48

    In my case it is only showing the resporitry name and description, when website got live

    • @gopick1791
      @gopick1791 Před 7 měsíci +1

      For me also how you fix this

    • @indianAakash
      @indianAakash Před 7 měsíci +1

      Same for me

    • @indianAakash
      @indianAakash Před 7 měsíci +1

      You found any solution?

    • @gopick1791
      @gopick1791 Před 7 měsíci +21

      @@indianAakash I found the solution rename the main html file into index.html and upload it next try to build

    • @indianAakash
      @indianAakash Před 7 měsíci

      @@gopick1791 thanks man, I'll try it

  • @PoojaSharma-qc3qj
    @PoojaSharma-qc3qj Před 9 měsíci +6

    Wow … wonderful … really liked it 👍🏻

  • @madhusreeyalavarthi4147
    @madhusreeyalavarthi4147 Před 6 měsíci +1

    It shows error in build with jekyll what should i do now ?

  • @ajmal5942
    @ajmal5942 Před 8 měsíci +3

    For this video I subscribed your channel...
    Thanks a lot ❤

  • @azizt6773
    @azizt6773 Před 5 dny

    thank you so much for the nice demonstration however one note i have is that its taking bit too long to load everything is that normal?

  • @jamesharris3109
    @jamesharris3109 Před 5 měsíci +2

    Amazing, Thank you so very much. Perfect content!

  • @dtplsd
    @dtplsd Před 7 měsíci +9

    thanks, this actually helped a lot, moving from replit to github was really confusing

  • @hangjiang8771
    @hangjiang8771 Před 3 měsíci

    does this work with other coding languages like python? i not hosting a website but I need host the code somewhere 24/7

  • @ElectronicBarta
    @ElectronicBarta Před 19 dny

    i am looking this kind of video for long time. you share this and solve my problem. thanks a lot for sharing.

  • @Shafna2004
    @Shafna2004 Před 9 dny

    In my case it’s not showing anything like that when I open pages

  • @abutaherchowdhury9542
    @abutaherchowdhury9542 Před 5 měsíci +1

    thanks, this video cleared all my confusions

  • @user-ho7bh8uq4i
    @user-ho7bh8uq4i Před 5 měsíci +5

    Thank you so much. Brief and very informative.

  • @josephpaintsil4407
    @josephpaintsil4407 Před 6 měsíci +1

    how do i put the code in the repository?

  • @DarkKnight-kq3is
    @DarkKnight-kq3is Před 3 měsíci +1

    Simple and detailed 10/10

  • @arshadahamed988
    @arshadahamed988 Před 4 měsíci

    After sometimes changed some code in it will it reflect in host too??

  • @siko.54
    @siko.54 Před 8 měsíci +4

    thanks u help me upload my first project !

  • @thatguy_08
    @thatguy_08 Před 2 měsíci +1

    Why is it showing an error like file not found

  • @ankitkumarsoni8292
    @ankitkumarsoni8292 Před měsícem

    when opening the link is shows the readme file on the browser
    ???

  • @Mannyswanks
    @Mannyswanks Před měsícem +2

    404 file not found when trying to upload my folder for a portfolio.

  • @Al_Gillani
    @Al_Gillani Před 6 měsíci +7

    So it doesn't need any back end? Will this website work?

  • @sarojashostingcompany
    @sarojashostingcompany Před 5 měsíci

    Thanks for your brief demo

  • @itsbhargav5305
    @itsbhargav5305 Před 4 měsíci

    Thank you,
    Very helpful!

  • @swordman3564
    @swordman3564 Před měsícem

    How can we see the link to the hosted website again?

  • @ashabhadania3434
    @ashabhadania3434 Před 9 měsíci +1

    a good start...keep it up

  • @dontaskwhy513
    @dontaskwhy513 Před 4 měsíci

    why mine said page not found
    or file not found error 404

  • @ddbharadwaj1
    @ddbharadwaj1 Před 9 měsíci +4

    Very well done 👍

  • @maltibhokare5814
    @maltibhokare5814 Před 4 měsíci

    Thank you so much for this video which is very helpful for me ❤

  • @Suresh-ug1vu
    @Suresh-ug1vu Před 3 měsíci

    You have helped me alot,
    Thankyou so much

  • @dab_ke
    @dab_ke Před 2 měsíci

    Thank you. Just what I needed

  • @neman36
    @neman36 Před 4 měsíci

    Thank you, it solved my problem in a short time))))

  • @parthpandiya1729
    @parthpandiya1729 Před 4 měsíci +2

    this stuff is too complex for me, takes every bit of me sometimes to comprehend some of the topics and concepts in sft engg, is it supposed to be like this. whats your experience??

    • @arjumandayub9049
      @arjumandayub9049 Před 18 dny

      oh yes definitely it happens. This just means that computer science and being developer is a very new experience for you (same for me) and can feel sometimes overwhelming but just keep going. This is true for every new experience especially if it is isolated as compared to your previous experiences.

  • @tanishqkathar26
    @tanishqkathar26 Před měsícem

    Does it works if there are more then 1 html files linked to each other🤔🤔💬

  • @user-jz4yl1iq6p
    @user-jz4yl1iq6p Před 2 měsíci

    Will this site change if I add some new code?

  • @user-js2is2wj3k
    @user-js2is2wj3k Před měsícem

    Does they charge if i didn''t unpublish the site??

  • @johgable
    @johgable Před 2 měsíci +1

    thank you I followed your instruction but when I go on the website I can see the name of the depositary and " at the top, how can I get rid of It please ?

    • @snowy22441
      @snowy22441 Před 3 dny

      Typo probably? Just basing it off of your comment... If not then maybe try checking some parts of your code, such as style.css or script.js if there is something wrong there (wouldn't be the case if the html file is properly set up). Or lastly just the settings in your GitHub page...
      What you want to put in here
      Same
      edit: Checked the other comments, you can try renaming your main HTML page as "index.html" to see if it works. 👍

  • @AJITGUPTA649
    @AJITGUPTA649 Před 9 měsíci +1

    Very nice. Excellent

  • @anananananananana
    @anananananananana Před 9 měsíci +1

    Bro, when i did with custom domain, it shows the repository name at the top of the portfolio website i created, how do i remove it??

  • @PRATICPANDA
    @PRATICPANDA Před 10 měsíci +1

    Thankyou. It worked..

  • @BlackLegSanji69
    @BlackLegSanji69 Před 6 měsíci

    Hello madam , I deployed my React web app in github pages and tried to send data to my localhost server on my pc , it worked on my pc but can't send data from smartphone . I have cors in java spring still backend not getting data from my react webapp

    • @akritigoswamiLetsCode
      @akritigoswamiLetsCode  Před 6 měsíci

      Hi
      If your React web app is able to send data to your localhost server on your PC but not from your smartphone, there are a few things you can check and adjust to resolve the issue. Here are some steps you can take:
      Update CORS Configuration in Spring:
      In your Java Spring backend, ensure that CORS (Cross-Origin Resource Sharing) is properly configured to allow requests from your React web app, including requests from your smartphone.
      You can do this by adding the @CrossOrigin annotation to your controller methods or by configuring CORS globally in your application. Make sure to set the allowed origins, methods, and headers appropriately.
      @RestController
      @CrossOrigin(origins = "your-react-app-url", maxAge = 3600)
      public class YourController {
      // Your controller methods
      }
      Also, Make sure you are using the correct URLs in your React web app to send requests to your Java Spring backend.
      Instead of using "localhost" in your API requests, use the actual IP address or hostname of your PC. This ensures that your smartphone can reach your PC's server.
      const apiUrl = "your-pc-ip-address:your-server-port/api/endpoint";
      // Use apiUrl in your fetch or axios requests
      You can also Check Smartphone Browser Console:
      Open the console in the browser on your smartphone and check for any CORS-related errors. This can provide insights into what might be going wrong.
      Use browser developer tools on your smartphone to inspect network requests. Check the request and response headers for any CORS-related issues.

  • @Funnframess
    @Funnframess Před 2 měsíci

    bang makasih banyak sebelumnya tapi gua mau nanya, kenapa web gua gak bisa di publish yak? malah error jadinya

  • @user-mp1uw5pv9p
    @user-mp1uw5pv9p Před 17 dny

    yellow button is not showing pls reply mam

  • @AyomideAdeniran-vd8dg
    @AyomideAdeniran-vd8dg Před 28 dny

    After doing this my image is still missing after publishing

  • @hanasalah7562
    @hanasalah7562 Před 8 měsíci +1

    thank you so much this was useful

  • @AnushaJeeguru
    @AnushaJeeguru Před 16 dny

    for me it showing 404 error ....why?

  • @X3NOGLADIAT0R850
    @X3NOGLADIAT0R850 Před měsícem

    i only see an h1 that reads the name of the repository and another one that reads the content of the readme

  • @devisri179
    @devisri179 Před 5 měsíci

    Save option ain't available

  • @abhaysonwane4704
    @abhaysonwane4704 Před 7 měsíci +1

    I m getting Jekyll conversion error even though I am not using Jekyll themes

  • @contentsofjoy
    @contentsofjoy Před 6 měsíci

    Wow! Very great video

  • @TheChildren-69
    @TheChildren-69 Před 3 měsíci

    then how to republish it?

  • @Game_In-life
    @Game_In-life Před 7 měsíci +2

    do anybody know hot to make the domain into you repository name instead of your user name

    • @awesomedog491
      @awesomedog491 Před 6 měsíci

      I am experiencing the same problem. I cant set the CNAME of my website because the link made by github includes my directory

  • @gowda0000
    @gowda0000 Před 9 měsíci +1

    Good information 👍

  • @ankithamirani4491
    @ankithamirani4491 Před 8 měsíci

    AchhA Hai..!! But I have a Question..!! Agar Php website ko GitHub pages ke through hame live karvana ho with database to vo ham kese kare..?? Uske upar ek video banao

  • @nishantgaurav9026
    @nishantgaurav9026 Před 4 měsíci

    but i got error deploy error

  • @user-io4sr7vg1v
    @user-io4sr7vg1v Před 2 měsíci

    this thing is not publishing my html page. It is publishing a markdown document.

  • @HimanshuGupta-jj8kn
    @HimanshuGupta-jj8kn Před 9 měsíci +1

    THANK YOU SO MUCH.

  • @apoorvasingh1918
    @apoorvasingh1918 Před 18 dny

    A GREAT INFORMATIVE VIDEO

  • @Yemisi.Owoade
    @Yemisi.Owoade Před 4 měsíci

    This video just help my troubleshoot my bug. 😂😂😂
    Was trying to create an analyst website portfolio for my projects but I couldn’t figure it out as my repository wasn’t publishing on GitHub. I followed your step by step instructions and it worked….
    I love you ❤❤❤… don’t mind me, I can be a little dramatic 😂😂😂

  • @NullCodersp
    @NullCodersp Před 8 měsíci

    Is this work for telegram bot?

  • @pulseshortsvideosforyou

    Thank you so much. On point

  • @vampire__hunter
    @vampire__hunter Před 5 měsíci

    thanks you are a life saver

  • @mahdihussain7353
    @mahdihussain7353 Před 9 měsíci +1

    thank you it's worked .

  • @hacimwalker
    @hacimwalker Před 4 měsíci

    simple, and what i need

  • @timothymunyaka787
    @timothymunyaka787 Před 2 měsíci

    THANKS, JUST WHAT I NEEDED

  • @nirmalunagar
    @nirmalunagar Před 6 měsíci +1

    Thank you AKruti

  • @paraggawade9045
    @paraggawade9045 Před 22 dny

    Easy n simple😊

  • @NoXKP
    @NoXKP Před 5 měsíci

    does this work for a react app, if i have an build folder ?

  • @ardraappu-fd6wd
    @ardraappu-fd6wd Před 4 měsíci

    Why my website showing it's dangerous and unsafe

  • @mjmares
    @mjmares Před 6 měsíci +1

    does the main html file have to be called main.html?

    • @achira3927
      @achira3927 Před 5 měsíci

      index.html, otherwise it would not show up

  • @PenjagaLangitIndonesia
    @PenjagaLangitIndonesia Před 4 měsíci

    Thank You Very Much!

  • @sinanajafi44
    @sinanajafi44 Před 7 měsíci

    How can I republish again? it doesn't work after i accidentally unpublished my page pls help

  • @haley8850
    @haley8850 Před 6 měsíci +1

    is this permanent?

  • @TANMAYTHAKRE-it87
    @TANMAYTHAKRE-it87 Před 3 měsíci

    THANKS FOR SAVING MY TIME

  • @Aman-lk2hk
    @Aman-lk2hk Před 6 měsíci

    thank you for to the point video

  • @techmay1201
    @techmay1201 Před 8 měsíci

    can I create multiple github pages for different projects?

    • @whateveritis0
      @whateveritis0 Před 8 měsíci +1

      Yes

    • @akritigoswamiLetsCode
      @akritigoswamiLetsCode  Před 6 měsíci

      Yes, you can create multiple GitHub Pages for different projects within the same GitHub account. Each GitHub Pages site is associated with a specific repository and can be configured independently.

  • @LiamChii
    @LiamChii Před měsícem

    theres no yellow dot

  • @myselfAlien
    @myselfAlien Před 6 dny

    Thank You so much

  • @vipanmankotia2729
    @vipanmankotia2729 Před 9 měsíci +1

    Excellent

  • @shaggykashyap2
    @shaggykashyap2 Před 4 dny

    thanks alot man!!

  • @experimentswithme2708
    @experimentswithme2708 Před 6 měsíci

    Can host only front-end website? Or both(front-end and back-end) ?

    • @akritigoswamiLetsCode
      @akritigoswamiLetsCode  Před 6 měsíci

      As much as I know, GitHub Pages is designed to host static websites, which means it's primarily suitable for hosting front-end content. GitHub Pages may not provide server-side processing or the ability to run back-end code.

    • @experimentswithme2708
      @experimentswithme2708 Před 6 měsíci

      ​@@akritigoswamiLetsCode Okay👍

  • @bikalpa_kc
    @bikalpa_kc Před 3 dny

    Thank you!

  • @algrew_
    @algrew_ Před 10 měsíci +1

    Thankyou Aunty

  • @akhileshkumarchaturvedi4227
    @akhileshkumarchaturvedi4227 Před 9 měsíci +1

    Well done.

  • @chatgpt_four
    @chatgpt_four Před 12 dny

    love u mam heart full thanks fron INDIA

  • @fahaadslayeredit
    @fahaadslayeredit Před 3 měsíci

    thanks its very helpfull

  • @ceydagulen9750
    @ceydagulen9750 Před 3 měsíci

    when ı go to pages ı cannot see that you see in the page can you help me a bit

    • @vitiadaugunu
      @vitiadaugunu Před 2 hodinami

      does it say "Upgrade or make this repository public to enable Pages" if yes than you have to pay for a subscription.

  • @narendradevbhardwaj1556
    @narendradevbhardwaj1556 Před 9 měsíci +1

    👌🌹well done 👍

  • @bussi911
    @bussi911 Před měsícem

    thank you for making this video

  • @deezrr432
    @deezrr432 Před 8 měsíci +1

    Thanks!

  • @srikantpradhan6038
    @srikantpradhan6038 Před 6 měsíci

    Now its not free anymore.. it asking to upgrade

  • @ligiaciutacu5013
    @ligiaciutacu5013 Před 3 měsíci

    Thank you so much for this video. It saved my time.

  • @jacktonmboya538
    @jacktonmboya538 Před 2 měsíci

    thanks for your help

  • @PLAY254MUSIC-ky1rh
    @PLAY254MUSIC-ky1rh Před 5 měsíci

    Big uo...wozaa

  • @mshscontent4196
    @mshscontent4196 Před 5 měsíci

    thank you very much