404 There isn't a GitHub Pages site here #162497
Replies: 8 comments
-
|
Rename your repo to yulkin2002.github.io if you want the shorter URL. Make sure your index.html is in the root of the main branch. Go to Settings > Pages and choose the correct branch and folder. Remove any custom domain. |
Beta Was this translation helpful? Give feedback.
-
|
Sounds like you're hitting a common GitHub Pages snag with that 404! It's usually about how you've named your repository or where your files are.
|
Beta Was this translation helpful? Give feedback.
-
|
You're likely running into one of these common GitHub Pages setup issues: 1. Check Repository Name
2. Make Sure You Have an
|
Beta Was this translation helpful? Give feedback.
-
|
Oh, it bit me too the first time—GitHub Pages is picky about names, so you’ve basically got two options: if you want a user page at yulkin2002.github.io, your repo has to be literally named yulkin2002.github.io (no custom domain, just push an index.html to the main branch, save the Pages settings at root, and wait a few minutes for “Your site is published at…” to pop up). If instead you’re making a project page called “nearby,” leave the repo named nearby, clear out any custom-domain text, enable Pages (main branch → /root or /docs), and your site will show up at https://yulkin2002.github.io/nearby. Sticking “nearby.github.io” into the Custom Domains box just confuses GitHub, so pull that out and let it use the default URL. You should see the “View site” link appear in your Pages settings once it’s done building... hopefully lol |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
If you want your site at yulkin2002.github.io, your repo must be named yulkin2002.github.io, with index.html in the root. Set GitHub Pages source to main and root folder, and don’t use a custom domain. |
Beta Was this translation helpful? Give feedback.
-
|
Problem Root Causes Repository Name For a personal site at yulkin2002.github.io, the repository must be named exactly yulkin2002.github.io. Missing index.html GitHub Pages requires an index.html (or README.md) in the root of the selected branch. Incorrect Pages Settings In Settings > Pages, the source branch must be set (usually main) and the folder should be / (root) or /docs, depending on where your files are. Custom Domain Conflicts If you're not using a custom domain, make sure the “Custom Domain” field is empty to avoid redirect issues. Build Delay After saving your Pages settings, it can take 1–2 minutes for the site to go live. There’s no “publish” button—GitHub builds and deploys automatically. Fix Steps Add an index.html file to the root of your main branch. Go to Settings > Pages, select main as the source branch and / as the folder. Clear any custom domain entries. Wait a few minutes, then visit https://yulkin2002.github.io. If the issue persists, check the “Actions” tab for build errors or share your repo link for community help. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Please help! I am at a loss as to why I keep getting the error. I followed this guide: [https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site], but I keep getting the 404 error.
according to the settings/pages it appears that my domain is yulkin2002.github.io,
I do not see any button to either publish the site or view it and I am unable to access it via the above links.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions