I forgot to mention one thing. Make sure to use ur username as the repo name. It should be Yourusername.github.io And anyone who is having a 404 error do this 404 means that the file could not be found. To solve this make sure the mainpage is named as index.html and also check if the index.html file is in the root directory and not in any sub folder. So if u have only one project in ur repo then make sure that the index file is in yourusername.github.io and not in yourusername.github.io/subfolder If u have multiple projects in ur repo then access it by adding the subfolder name in the URL along with the repo name, like this yourusername.github.io/subfolder
It's informative. Thank you. I didn't see the .git folder in my GitHub folder and when I added the text files to the GitHub folder, they didn't show up in the GitHub Desktop app. But then I realized I had to be inside the Github>{repo folder} and then they showed up in the Desktop app. Now it is also saying commit to main as opposed to commit to master. Now I'm getting an error 404 with the project URL. Not a GitHub Pages site here.
404 There isn't a GitHub Pages site here. If you're trying to publish one, read the full documentation to learn how to set up GitHub Pages for your repository, organization, or user account. anyone can help?
i got the 404 and was wondering why, not sure if this applies to everyone, but i had to specifically type /index.html at the end of the url in the browser, so username.github.io/index.html
@@Penutbear Thanks. I just looked in the repository settings, and can't find an 'enable website' option. Is it literally called that? I've also got the source pointing to the master
Hi actually when i published and i in github the files were there and then i searched it in google it was showing some 404 and all the page was not coming
Wow, this is pretty much what was looking for. I'm learning github, but wondered if I could display my static website projects on the platform. Thank you! EDIT: Well, after struggling for a few hours and getting '404' errors, I finally got my first page up, and now I can put all my projects up and work on others to put up as I learn more programming. I was determined to get this today and its' 11:15 at night and 'finally' I've made it thanks to your video. You've earned a subscription.
@@Swufz I don't know if it's the same issue as yours, but my problem was with how I named the website files, style.css, script.js and index.html I had one or more of the file names written in 'title' case, for example Index.html (with a capital 'I') instead of index.html (with a lowercase 'i'. That simple difference seemed to stop the file from being recognized as the main website file by Github. When I changed the file names to lowercase that worked for me. I actually had to remove the files from my the website folder that were on my local computer, place them elsewhere, and then rename them with lowercase and then place them back into the website folder on my local computer. Only then, after submitting the changes to Github and having to wait several minutes, did it finally work.
i have a doubt i developed weather app using js that was not working in netlify i don't know the reaason it gives some security error(like insecure website ,served over https..)
are we able to edit the html file once its live? if so can we do it over other devices, not needing to use back the same local html files in the original computer?
Not working. It is showing 404 error. Already followed each and every method said by you but it is still not working. First of all it is not showing master, it is showing main. And also instead of publish page it is showing push to origin.
But how can one link than URL, from an already bought domain name from an provider, I just bought 2 domain names + the hosting space for those 2 webseites and now I'm stuck in linking the whole together!
it is a great explanation.. however, it doesn't work for me please help me when i'm searching it it says "Site not Found" please help me.... I'm too tired
Hi, I did all the following but two things happened: 1-In 5:08 I don't have .git file 2-in 5:50, it appears main to me instead of master and after i type JAZ-CO.github.io it eventually says: 404 error :( Thanks for video thought
bro can i use the same step for web template I have downloaded from another site and edited, actually i have tried but it just keeps showing me the page of template owners(without committing my change) what should i do, also i am new to web development
i am not able to host my website😔, it is showing 404 error(There isn't a GitHub Pages site here.), also .git folder is not created where i chosed the path Pls help me out
@@Packetcode thanks for your reply. It is working now. Don't know why it took a lot of time for showing my website. Thank you show much for sharing your knowledge with us through beautiful videos.
The link is : packetcodeofficial.github.io But if u want to access the project i placed in that domain then u have to add /cafehub at the end so the link becomes: packetcodeofficial.github.io/cafehub
i followed instructions till the end but 404 There isn't a GitHub Pages site here. If you're trying to publish one, read the full documentation to learn how to set up GitHub Pages for your repository, organization, or user account. GitHub Status - @githubstatus
404 Error means the file could not be found. So make sure that the mainpage of ur website is named as index.html and also in the URL bar make sure that u are in the correct folder.
bro, i successfully able to host my website. But, now, it is not responsive as it was earlier and the font size and style also got change. I have used bootstrap for responsiveness. what should I do???
Can we even host private repositories as well or only public repos. Hey am facing the below issue. Can anyone help me please? git: 'remote-https' is not a git command. See 'git --help'.
Bro. For me commit to master is not coming. I can see commit to main only..... I'm so confused. I. Wnna publish web pages. Have seen many vedios but unable to publish. Few telling that after commenting u need to go to repo>setting > change setting publish page.... Anyone can help me? I'm not able to publish page. Not getting master branch option
Hi, I followed your video but I'm getting the 'Site not found. 404' error. I'm not sure what you mean by "make sure your main page is named index.html. My main html sheet is named 'index.html'. Thanks,
Owner name and repositoey name should be exactly match. Check you have the same if not go to setting delete the repository and then create new with exactly same name with owner name,
@@abhisheklad6892 Hey I am getting the same error even after creating the repository with name same as the username. Can you please suggest me a solution to this?
The problem with adding own domain is that you cant add your domain name directly instead you can redirect users from your own domain In the sense when a person tries to open yourdomain.com he will be redirected to username.github.io So in a sense you can't actually change the domain in the url instead you can redirect people to this webpage. Hope this helps. If you still have any doubt email me. Ill try to help.
sorry for this question coz i dont knw much abt web development...can i earn money by hosting through my website through github??? is there any option for google adsen???
No. You can't get adsense to subdomains. By sub domains I mean websites with their domain name like yourwebsitename.packetcode.in yourwebsitename.github.io yourwebsitename.sharique.io So these type of websites won't get approved for addsense as they are not the main domains. So the main domains would be something like packetcode.in github.io Sharique.io Or something like that. Subdomains are just a part of the main domain. So you can only get addsense to the main domain So if u want to earn money then u have to buy a domain and hosting. Without that u can't earn money for any blog or website that u create.
I forgot to mention one thing. Make sure to use ur username as the repo name. It should be
Yourusername.github.io
And anyone who is having a 404 error do this
404 means that the file could not be found. To solve this make sure the mainpage is named as index.html and also check if the index.html file is in the root directory and not in any sub folder.
So if u have only one project in ur repo then make sure that the index file is in
yourusername.github.io and not in
yourusername.github.io/subfolder
If u have multiple projects in ur repo then access it by adding the subfolder name in the URL along with the repo name, like this
yourusername.github.io/subfolder
it doesn't work man.. what should i do? i already follow all your instruction, but it still 404 page. Can you help me out?
Send me the repo link
Same with me!.( Not working)
Can you help me out?
My repolink : github.com/imvsr-69/vsrarts.github.io
It is showing me that there is no such repo. Check the link once again
This is the only video so far on TH-cam that teaches you what you really want. Thank you
Always count on people from India! First second I hear the accent, I know I've found what I need 😊😊
Changing the main folder name to index just ended my 2 weeks of trying to publish my website. Thanks a million
Clean and simple explanation as it should be... Thanks bud.
It's informative. Thank you.
I didn't see the .git folder in my GitHub folder and when I added the text files to the GitHub folder, they didn't show up in the GitHub Desktop app. But then I realized I had to be inside the Github>{repo folder} and then they showed up in the Desktop app.
Now it is also saying commit to main as opposed to commit to master. Now I'm getting an error 404 with the project URL. Not a GitHub Pages site here.
I'm facing problem at 4:48 it's showing the folder contains files. Git can only clone to empty folders
I was really struggling to understand other TH-cam tutorials. I am so glad I came across this one, thank you so much!
Thanks man i dont know what i would have done without you your videos are veeeeery very helpful
404
There isn't a GitHub Pages site here.
If you're trying to publish one, read the full documentation to learn how to set up GitHub Pages for your repository, organization, or user account.
anyone can help?
me tooo!!! 😢😢😢😢
The Only Useful video found on TH-cam on this particular topic.
Thank You so much Bruh! 🤝
I did the same exact thing but says 404 not found i guess it means the website is not located there, but why I uploaded everything. please help!!!!!!
i got the 404 and was wondering why, not sure if this applies to everyone, but i had to specifically type /index.html at the end of the url in the browser, so username.github.io/index.html
you need to go to the settings of your github repository and enable the website option and forward it to your master
@@Penutbear Thanks. I just looked in the repository settings, and can't find an 'enable website' option. Is it literally called that? I've also got the source pointing to the master
@@rjtkoh I'm facing the same issue. Did you find the solution?
@@ThakurSiddhesh actually, after a few days it worked without adding /index, I didn't change anything
@@rjtkoh did you find any solution?
followed this guide and somehow it doesnt work for me. i made sure my local files was uploaded on my repository but it doesnt work
Thank you so much.I had tried other videos but didn't work. This video was my saviour.
Hi actually when i published and i in github the files were there and then i searched it in google it was showing some 404 and all the page was not coming
same
you have to name your original html file index.html
The last part of the video.. absolute gold! Thank you 🙏🏼
The was a great video. My index.html file is in the root dirctory, yet it shows the 404 error.
you are the one who explained it very well. keep going. big fan...
Your trick on the last just made my day. Thank you!.
Wow, this is pretty much what was looking for. I'm learning github, but wondered if I could display my static website projects on the platform.
Thank you!
EDIT: Well, after struggling for a few hours and getting '404' errors, I finally got my first page up, and now I can put all my projects up and work on others to put up as I learn more programming. I was determined to get this today and its' 11:15 at night and 'finally' I've made it thanks to your video. You've earned a subscription.
Im having the same problem! How did you fix it?
@@Swufz I don't know if it's the same issue as yours, but my problem was with how I named the website files, style.css, script.js and index.html
I had one or more of the file names written in 'title' case, for example Index.html (with a capital 'I') instead of index.html (with a lowercase 'i'. That simple difference seemed to stop the file from being recognized as the main website file by Github. When I changed the file names to lowercase that worked for me. I actually had to remove the files from my the website folder that were on my local computer, place them elsewhere, and then rename them with lowercase and then place them back into the website folder on my local computer. Only then, after submitting the changes to Github and having to wait several minutes, did it finally work.
Simple explaining, good job bro
please i followed all the steps correctly but had an error code 404.
i have a doubt i developed weather app using js that was not working in netlify i don't know the reaason it gives some security error(like insecure website ,served over https..)
are we able to edit the html file once its live? if so can we do it over other devices, not needing to use back the same local html files in the original computer?
multiple devices login and edits can be done, takes few minutes to represent
For me its getting 404 error,What should I do now?
Not working. It is showing 404 error. Already followed each and every method said by you but it is still not working. First of all it is not showing master, it is showing main. And also instead of publish page it is showing push to origin.
i signed in to my youtube acc, just to comment that
"u r a legend"
But how can one link than URL, from an already bought domain name from an provider, I just bought 2 domain names + the hosting space for those 2 webseites and now I'm stuck in linking the whole together!
Huge thanks!!! your tutorial helped me finish the job that I could not finish for 4-5 hours.
what if the only branch shown is main.. and no master branch is shown? I am not able to host my site...Help!!
I cant find the published website it says "404 there isnt a github pages here". someone help
I did everything but its saying 404 file not found but my main file is name as index.html
Thank you so much! I tried so many tutorials but this is the one actually works! More vids to come!
How to run on desktop the github when it is showing error after downloading and showing error of entry point not found after running the setup
it is a great explanation.. however, it doesn't work for me
please help me when i'm searching it it says "Site not Found" please help me.... I'm too tired
Thank you! This video is the easiest one to follow.
@Amiel I'm happy that it was helpful to you.
Hi, I did all the following but two things happened:
1-In 5:08 I don't have .git file
2-in 5:50, it appears main to me instead of master
and after i type JAZ-CO.github.io it eventually says: 404 error :(
Thanks for video thought
same thing happened to me , have you found the solution ?
@@sakshamnegi7161 .git file is hidden change your setting to show hidden files
Hello,
Followed the instructions but 404 for me too.
Can you help me out please?
Thank you!
bro can i use the same step for web template I have downloaded from another site and edited, actually i have tried but it just keeps showing me the page of template owners(without committing my change) what should i do, also i am new to web development
i am not able to host my website😔,
it is showing 404 error(There isn't a GitHub Pages site here.),
also .git folder is not created where i chosed the path
Pls help me out
It doing to me too
I Solved it !!! You can only use your own account name for a User or Org Pages repository !
Hello friend, after following the procedure, web pages couldn't opened in the browser? Help me out.
All I can see is 404 file not found after following all the steps. What may be the possible reason. please clarify
You’re Creative Genius! VERY HELPFUL, thankyousomuch❤✨
How upload picture folder in your file there's no any pictures folder but in web there's 3 images how it's possible
Indian IT tutors always worked for me! thanks!
Finally found a video that explains this properly 🙏
it work like a charm, thanks so much from Tunisia
but if i put a license, it don't work, how can i fix that please??
Hello! My page works but for some reason the css does not apply at all, I don't know why...
Bro i followed same steps as you but i got 404 error when I searched for my website. Can you help me with that
I read the comments below. And made changes to my file to index.html even then I am getting same error
Can u share ur website url
@@Packetcode thanks for your reply. It is working now. Don't know why it took a lot of time for showing my website. Thank you show much for sharing your knowledge with us through beautiful videos.
@@Packetcode i'm also having the same problem.how did you fixed it ??
nice tutorial, thank I have one issue, my images are not showing. any advice? thanks
maybe these images are linked to a database table?
when i enter in the google search ( packetcodeofficial.gethub.io ) i got other website !!?? is there other way than google link ?
The link is :
packetcodeofficial.github.io
But if u want to access the project i placed in that domain then u have to add /cafehub at the end so the link becomes:
packetcodeofficial.github.io/cafehub
i followed instructions till the end but 404
There isn't a GitHub Pages site here.
If you're trying to publish one, read the full documentation to learn how to set up GitHub Pages for your repository, organization, or user account.
GitHub Status - @githubstatus
404 Error means the file could not be found. So make sure that the mainpage of ur website is named as index.html and also in the URL bar make sure that u are in the correct folder.
@@Packetcode hey it all worked now thank you so much for the awesome video and the reply you are the best
All the best for u next projects. 😇
2:51 maan, you forgot to feed your demons
i am following same steps .. i am have an error site not found ... can you please tell me .. where i need to look at ??????
The tip at the end, how did I never think of that lmao 😂😂😂😂
Thanks a bunch! That was very easy and helpful!
Actually we have to upload the html file or PHP file to the repository...??? .
U can only host html files on github.
So yeah u have to upload html file
Thanks for sharing. do you mind to share any video/ your video about creating those HTML and all files as mention. Sorry, I am newbies
There's a web dev learning path playlist on my youtube channel. Check that out
@@Packetcode thanks for your reply, after post this question I realize you have extensive tutorial.. really love it. Thanks sir. Salam
I did the same but when I search it on a new tab, it doesn't show up.
Why my css style and the images are not showing in the website? please reply...
so is there any way to use a domain ex.(uniquedomain.com) rather than using the github.io attachment?
Yes u can do that in the repo settings.
Awesome ! i was searching the topic that u mentioned at the last Thankyou!
bro, i successfully able to host my website. But, now, it is not responsive as it was earlier and the font size and style also got change. I have used bootstrap for responsiveness. what should I do???
sir plzzz help me there is an error showing 404 on google and also account on netlify cant create what should i do to host my website on free
Can you share a website where I can get a template for a portfolio with .html .css &.js files.
Nice! Well explained! Liked it!
@Hrishikesh. Thanks for the compliment
I can't install GitHub desktop in my PC since it's a 32 bit OS.what should I need to do.
I did all steps, my files are static, HTML and CSS but im getting 404 error. why?
Brother, thank you for your video, I really needed that !
Can we even host private repositories as well or only public repos.
Hey am facing the below issue. Can anyone help me please?
git: 'remote-https' is not a git command. See 'git --help'.
You cannot host private repos only public ones. And as for the second one where are u getting this error like after what command.
Thanks so much for this turtorial! It really helped me understand Github and I am going to use this very often!
did everything as said yet the website is "not found". thank you great video, if it only worked it would be even better
Have you figured it out? 🤞🏽
Bro. For me commit to master is not coming. I can see commit to main only..... I'm so confused. I. Wnna publish web pages. Have seen many vedios but unable to publish. Few telling that after commenting u need to go to repo>setting > change setting publish page.... Anyone can help me? I'm not able to publish page. Not getting master branch option
It's fine even if you publish to the main branch. Just change the root branch in the settings to main. Then it will be hosted.
@@Packetcode thanks bro. I'll try. Hope so ill be able to host. Btw thank you so much for all your efforts for us.
Thanks bro, you're cool! Helping a lotta people! Good job
help i accedently put my repostery to boko and not boko.gihub.io how do i change it?
You can change that in settings page.
Hi,
I followed your video but I'm getting the 'Site not found. 404' error. I'm not sure what you mean by "make sure your main page is named index.html. My main html sheet is named 'index.html'.
Thanks,
404 means that the page could not be found.
Is the index page in the root folder and not in the sub folder?
what if we have multiple folder and bootstrap files, and many minified files, would this process be the same
Yes
Hahaha... I like the part"who watched till the end" you afraid me with the "only one" thing. But nice thanks.
bro I want to host launch .aspx files. I couldn't;t. could you please help me?
5:14 how do you get this website
May i know you pc details? Tons of programs there and it works fast.
Thank You! Simple and staright
Last tip was cool.Thanks!
And does the website go offline when you switch off the network?
Thank you so much this was helpful ! you are really good at explaining things easily and clearly . It is honestly a talent of yours
@Zara Thank u for the compliment ❤
I have followed all the steps but I got the 404 error?? How should I do this??
Can you elaborate it more
Owner name and repositoey name should be exactly match. Check you have the same if not go to setting delete the repository and then create new with exactly same name with owner name,
@@abhisheklad6892 yeah it works.. I deleted the repository..thnks
@@abhisheklad6892 Hey I am getting the same error even after creating the repository with name same as the username. Can you please suggest me a solution to this?
Thanks for the video.
Small query. Can we include third party forms like google forms etc.
And can we link our own domain with github hosting.
Thanks.
The problem with adding own domain is that you cant add your domain name directly instead you can redirect users from your own domain
In the sense when a person tries to open yourdomain.com he will be redirected to username.github.io
So in a sense you can't actually change the domain in the url instead you can redirect people to this webpage.
Hope this helps. If you still have any doubt email me. Ill try to help.
It is posible to link your own domain with GitHub.
u can insert google forms, use the embedded html code and paste it to your html script
Very nice tutorial. I am facing an inssue. The website images are not visible in live. Pls do the needful for the same. Thanks.
thanks brother, you saved my friend's ass in 8 minutes.
Sir if I host a website on GitHub pages then all my files ( html CSS PHP) will be accessible by anyone right?
if I host it on my github, should I change the repo to private?
I am facing a issue
Commit to master ki jaga commit ti main a raha hai
is ko solve kese karain
Thanks so so much. This is really helpful. Thanks so much for all you do
Thanks! I'll try it for my portfolio.
Let me see your portfolio 😊 link plz
can I name multiple index files if they are in different subfolders.
will it support Angular 8 project?
how did you create the HTML pages that you uploaded?
really nice walkthrough... thanks buddy
Nice One, I watch So Many Videos But I didn't Understand That, But This Video Is Use Full For Me, Thank You So Much
sorry for this question coz i dont knw much abt web development...can i earn money by hosting through my website through github??? is there any option for google adsen???
No. You can't get adsense to subdomains.
By sub domains I mean websites with their domain name like
yourwebsitename.packetcode.in
yourwebsitename.github.io
yourwebsitename.sharique.io
So these type of websites won't get approved for addsense as they are not the main domains.
So the main domains would be something like
packetcode.in
github.io
Sharique.io
Or something like that.
Subdomains are just a part of the main domain. So you can only get addsense to the main domain
So if u want to earn money then u have to buy a domain and hosting. Without that u can't earn money for any blog or website that u create.