Host website on github for free in just 2 mins

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

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

  • @parasi8699
    @parasi8699 11 месяцев назад +59

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

      how much it took for DNS ropogation?

  • @dhokiarinidh9809
    @dhokiarinidh9809 Год назад +41

    Thank you for the quick and brief demo

  • @satyambansal728
    @satyambansal728 Год назад +107

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

    • @gopick1791
      @gopick1791 Год назад +4

      For me also how you fix this

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

      Same for me

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

      You found any solution?

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

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

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

      @@gopick1791 thanks man, I'll try it

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

    Thank you, you're the bomb, I followed this video without sound and everything worked out. I'm impressed, keep it up.

  • @dtplsd
    @dtplsd Год назад +16

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

  • @nilanshpathakk760
    @nilanshpathakk760 Год назад +41

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

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

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

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

    • @abby-1020
      @abby-1020 8 месяцев назад

      @@rohitk472 same question

    • @Rigzin-kq2wg
      @Rigzin-kq2wg 5 месяцев назад +2

      I get error on .... Build with Jekyll
      How can I solve this issue ?

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

      yo this one works, thanks stranger

  • @Yemisi.Owoade
    @Yemisi.Owoade 10 месяцев назад +5

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

  • @juhikumari-ex5wz
    @juhikumari-ex5wz Год назад +5

    thanks it cleared all my confusions specially that yellow dot

  • @AIStreamX
    @AIStreamX 4 месяца назад +7

    After deploying it shows completely blank nothing is displayed ....same code when we run on vs code it works but when we deploy it shows white page not displaying anything

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

      Same problem

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

      @abbymelendres5866 no brow it is actually link was generated it is asking for the customized domain ..... So random domain with we provided name already link will be generated check it properly it is on top ....I found yesterday

    • @NiratGyang
      @NiratGyang 29 дней назад

      Try changing the part of /roots to /docs next to branch name

  • @chandanad.a5956
    @chandanad.a5956 9 дней назад +1

    Thanks a lot I had this problem and tried many ways now its working 😊

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

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

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

      The express code will not execute on this environment. The Github pages option is only for Front End code. You will need a different platform like Heroku

  • @adventurewithme18
    @adventurewithme18 21 день назад

    I really appreciate you making this video, it was so helpful.

  • @namithamanoj7785
    @namithamanoj7785 10 дней назад +2

    When I click the link, it's showing a 404 file not found. How to fix it?

    • @umesh9629
      @umesh9629 6 дней назад

      rename your html file as "index.html"

  • @chiragsingh7551
    @chiragsingh7551 6 дней назад

    Akriti this really helped me, thank youu very much ❤

  • @gesnerdeslandeseducational6722
    @gesnerdeslandeseducational6722 4 дня назад

    I live in Haiti and I didn’t go to school to learn html and I am still learning . I learn by doing. After html I’m gonna learn CSS.

  • @marapuna9327
    @marapuna9327 5 месяцев назад +2

    After saving my url to the page is not showing.

  • @investorswatch
    @investorswatch 11 месяцев назад +2

    Thank u so much! Clear and on point tutorial.

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

    no its not showing link . its showing an error what should i do?

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

    Hello, I'm having an issue where I can only see the description of my page that I committed, but not the actual page itself. I'm using EJS, CSS, and JavaScript. Can anyone help me?

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

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

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

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

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

    Tysm, the steps were very simple, staright to the point

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

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

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

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

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

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

  • @PoojaSharma-qc3qj
    @PoojaSharma-qc3qj Год назад +6

    Wow … wonderful … really liked it 👍🏻

  • @ajmal5942
    @ajmal5942 Год назад +4

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

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

    Hii, how can i host nested folder which has index.html and some other files

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

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

  • @DarkKnight-kq3is
    @DarkKnight-kq3is 9 месяцев назад +2

    Simple and detailed 10/10

  • @johgable
    @johgable 8 месяцев назад +2

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

      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. 👍

  • @bunso521
    @bunso521 5 месяцев назад +2

    Hello I'm very mew to programming and github, and this might be a dumb question but how is it that your website has a login and option to register(which I assume would store user data in a db somewhere) when you can only host a front-end website on github? I'm just a little confused and would like some clarification if it's possible

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

      it has by using html and css. Data store in DB. And backend work to bridge front end to back end.

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

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

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

      Try to upload your code using the terminal

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

    thanks, this video cleared all my confusions

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

    how about if the language is framework? and have databases?

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

    this is so helpful and saved my time some people have not the skill to deliver an information with this efficient time thank for respecting my time 😍 may Allah guide and bless you

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

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

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

    how do i put the code in the repository?

  • @jamesharris3109
    @jamesharris3109 11 месяцев назад +2

    Amazing, Thank you so very much. Perfect content!

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

    Straight to the point, thank you.

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

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

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

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

      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.

  • @wrenwright-dw6gy
    @wrenwright-dw6gy 3 месяца назад +1

    Why am I getting an Error 404?

  • @siko.54
    @siko.54 Год назад +4

    thanks u help me upload my first project !

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

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

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

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

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

    How to live link unpublished to published???

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

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

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

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

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

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

  • @Sura_jith
    @Sura_jith Год назад +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??

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

    I am your 910th subscriber

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

    ANy method for making private the but publish the website?

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

    it worked !!! whoowohooo
    Dont forget to name your home file to "index.html" or you get 404 error

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

      I keep getting the 404 error, what do you mean by your "home" file? how do i do that? help please!! lol

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

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

  • @parthpandiya1729
    @parthpandiya1729 9 месяцев назад +3

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

      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.

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

      It is perfectly normal, someday you will understand that almost nobody knows everything, they take the job, learn the requirements and finish the job without any prior knowledge and the process can be quite fun.

  • @zacharyzhang2839
    @zacharyzhang2839 14 дней назад +1

    Thanks, this indeed helped me.

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

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

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

    Can I deploy website that developed base on vue.js framework?

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

    Why is it showing an error like file not found

    • @Salma-wq4ic
      @Salma-wq4ic 5 месяцев назад

      make sure the first html page ( or the only one if it's a one page) is named index.html

  • @AyomideAdeniran-vd8dg
    @AyomideAdeniran-vd8dg 6 месяцев назад

    After doing this my image is still missing after publishing

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

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

  • @ZoeVi-dr5rl
    @ZoeVi-dr5rl 2 месяца назад

    Thank you so much! Your video really helped me

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

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

  • @Suresh-ug1vu
    @Suresh-ug1vu 9 месяцев назад

    You have helped me alot,
    Thankyou so much

  • @Mindgamer2702
    @Mindgamer2702 19 дней назад

    Will this work if I'm using API in my js?

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

    incredibly helpful, thank you!

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

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

  • @JayDee-b5u
    @JayDee-b5u 8 месяцев назад

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

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

    Perfect. Thanks, man!

  • @ibraheem-h8p
    @ibraheem-h8p 11 месяцев назад +5

    Thank you so much. Brief and very informative.

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

    a good start...keep it up

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

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

  • @uppulurmanojkumar6424
    @uppulurmanojkumar6424 25 дней назад

    It's showing me the 404 file not found

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

    I cànt even find the pages option in setting

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

    Now its not free anymore.. it asking to upgrade

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

      yeah for me also the same

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

      I had the same issue, the repository has to be public to host the site for free, maybe yours was private like mine

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

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

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

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

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

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

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

    yellow button is not showing pls reply mam

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

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

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

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

  • @AmanSinha-y4n
    @AmanSinha-y4n 6 месяцев назад

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

  • @ЭрикУланыч
    @ЭрикУланыч 8 месяцев назад

    Will this site change if I add some new code?

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

    thank you this video is so so so useful love u

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

    Thank you. I took a free course on JS, but the video they sent us to explain the deploy process wasn't very helpful. I appreciate the explanation on the procedure. Regards!

  • @krishnadahule-gw7wd
    @krishnadahule-gw7wd 5 дней назад

    Thank you I deploy my first website

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

    Thanks for your brief demo

  • @TheChildren-69
    @TheChildren-69 9 месяцев назад

    then how to republish it?

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

    Informative video ❤

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

    theres no yellow dot

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

    can I create multiple github pages for different projects?

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

      Yes

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

      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.

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

    why it says error ?

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

    Save option ain't available

  • @bhargav-gembali
    @bhargav-gembali 10 месяцев назад

    Thank you,
    Very helpful!

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

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

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

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

      ​@@akritigoswamiLetsCode Okay👍

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

    but i got error deploy error

  • @ardraappu-fd6wd
    @ardraappu-fd6wd 10 месяцев назад

    Why my website showing it's dangerous and unsafe

  • @ddbharadwaj1
    @ddbharadwaj1 Год назад +4

    Very well done 👍

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

    Wow! Very great video

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

    Not showing settings

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

    Thank you. Just what I needed