404 Not found #171725
-
Select Topic AreaQuestion BodyHello everyone, I successfully created a repository on GitHub and configured GitHub Pages. Now, I can access my site normally via https://super-yyt.github.io/Wiki/. However, after I bound my custom domain https://wiki.649446.xyz, I encountered a 404 error when trying to visit it. I would really appreciate it if anyone could offer some help. Thank you all so much! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
I'm assuming you've already added the custom domain in your profile 'Pages' settings. |
Beta Was this translation helpful? Give feedback.
-
|
This usually comes down to either DNS settings or GitHub not recognizing the domain just yet. First off, head over to your repo’s Settings → Pages and double-check that wiki.649446.xyz is listed as the custom domain. If it isn’t, add it there, GitHub should then drop a CNAME file into your branch automatically. If that file’s missing, just create one yourself. Next, on your domain provider’s side, set up a CNAME record so that wiki points straight to super-yyt.github.io. That’s the crucial link, without it, your visitors land in the void. Stick to a CNAME here. A records can cause headaches unless GitHub specifically tells you otherwise. After that, DNS changes don’t always show up instantly, sometimes it’s a few minutes, other times it can stretch toward a full day. If you want to see if things are moving along, run a quick check with: dig wiki.649446.xyz or nslookup wiki.649446.xyzOnce GitHub sees the domain properly, go back into your Pages settings and flip on Enforce HTTPS. Just a heads-up, the SSL certificate might take a little while to kick in, so don’t be surprised if you still get a 404 at first. In short, make sure the custom domain is saved in GitHub, set up the DNS CNAME, and give it some time. Once it all syncs up, the 404 should vanish. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
This usually happens because GitHub Pages is serving correctly, but the custom domain or repository settings are not aligned. Let’s go step by step: ✅ Things to Check
🔧 Likely Fix for YouSince
After that, visiting |
Beta Was this translation helpful? Give feedback.
-
|
Alright, go to repo Settings > Pages, set 'wiki.649446.xyz' as custom domain. Add CNAME record at domain provider: |
Beta Was this translation helpful? Give feedback.



This usually happens because GitHub Pages is serving correctly, but the custom domain or repository settings are not aligned. Let’s go step by step:
✅ Things to Check
Custom Domain in Repo Settings
wiki.649446.xyzis entered.DNS Records
Log into your domain DNS provider and add records:
If using a subdomain (
wiki.649446.xyz), add a CNAME record:If using the apex domain (
649446.xyz), GitHub requires A records pointing to: