-
Select Topic AreaQuestion BodyAnother person here struggling with DNS issues. It's complaining that the domain does not resolve to Github pages server, but it actually does. output of
What's even stranger is that I tried for the hell of it to set the custom domain to the Makes no sense. Particularly considering these are my DNS records: Would be really great if someone from Github could chime in. Seen many occurrences of a staff member tinkering somewhere in the backend of Github pages and resolving this very quickly... Would be ace. Otherwise, I'm in a bind. Spoke to my DNS providers and on their end, everything looks fine. it's been over 24 hours since any DNS changes. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
The page is served now, but without certificate. Still getting "DNS check unsuccessful", which is leading to no certificate being issued. |
Beta Was this translation helpful? Give feedback.
-
Just to be sure, did you add a DNS TXT record on your domain hosting service? That validates that the hostname is yours, this is what the custom domain section checks. You can read about it on the Verifying a domain for your user site page. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the input Peter. I'd seen this step, but considered it to be from outdated documentation, as |
Beta Was this translation helpful? Give feedback.
-
Also, since the original post, my site was accessible at tjex.net (with https being crossed out). But now after a few days I removed the domain from GitHub pages settings, and tried adding it again. Now tjex.net shows the GitHub Pages 404 again... 🤷♂️ (It wasn't a cache issue. I'd cleared my cache many times along the way) I've also since set a |
Beta Was this translation helpful? Give feedback.
-
...so. In the end, it was because my repository name did not match the Thanks Peter for pointing it out here Explained here in the docs under step 3 Frustrating as I already had this repo from when hosting my website elsewhere, so I never looked at the documentation for creating the repo (i.e. from the start...). There is also the case of the CNAME file within the repo. Here under step 4, the docs refer to the CNAME file needing to be present when building from a branch. It then states:
This is not super clear whether a CNAME file is needed when building from a workflow (or whether the GitHub workflow creates it itself when building the site). My assumption is that the user still needs to add it manually, I've also seen another repo with a CNAME file in the Thing is that my site is now functioning and resolving correctly without the CNAME file. But it could be a case of errors down the track / unstable behaviour... So I'm going to add one anyway just in case. Also here, there is the comment:
All in all, the documentation isn't super clear about whether a CNAME file is needed when building by workflow, but I suppose it can't hurt to include one. |
Beta Was this translation helpful? Give feedback.
-
I am building a user site. That's what this issue is about, sorry if that wasn't
clear.
Well, the website posted in the stackoverflow thread (https://noymer.tk/)
returns the exact same error I was having.
Perhaps the page is down anyway since then, perhaps since then the setup
requirements have changed on GitHub's side since the stackoverflow answer (June
2022), in any case, the page doesn't resolve, so it's not a good example unfortunately.
|
Beta Was this translation helpful? Give feedback.
...so. In the end, it was because my repository name did not match the
<user>.github.io
naming scheme 🤦♂️Thanks Peter for pointing it out here
Explained here in the docs under step 3
Frustrating as I already had this repo from when hosting my website elsewhere, so I never looked at the documentation for creating the repo (i.e. from the start...).
There is also the case of the CNAME file within the repo.
Here under step 4, the docs refer to the CNAME file needing to be present when building from a branch.
It then states:
This is not super clear whether a CNAME file is needed when building f…