Custom domain verification? No TXT record shown #59077
-
Hi, I'm trying to configure a custom subdomain for my GitHub Pages site. I am following steps from the docs. When I save the domain (did the CNAME myself), GitHub shows a red banner at the top saying
I read the docs for domain verification, but the screenshots and the rest of the docs seem to be out of date. I don't see anything where I can add a TXT record (step 5). |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 21 replies
-
You need to add the TXT record to your domain, not anywhere in your repository. Exactly how to do that depends on your registrar, and how they let you configure DNS records. |
Beta Was this translation helpful? Give feedback.
-
@akpi816218 I think the documentation you are referring to might be outdated. GitHub Pages has updated its domain verification process, and adding a TXT record is no longer required. Here's the updated process to verify your custom subdomain for GitHub Pages:
At this point, GitHub Pages will attempt to verify the custom subdomain automatically. If everything is set up correctly and DNS propagation is complete, the verification process should succeed, and your custom subdomain will be associated with your GitHub Pages site. Please note that it may take some time for the changes to take effect due to DNS propagation. If the verification doesn't succeed immediately, I recommend waiting for some time and trying again later. As an example, you can visit my GitHub page where I have successfully implemented a custom domain. |
Beta Was this translation helpful? Give feedback.
-
See this answer, with one slight correction:
|
Beta Was this translation helpful? Give feedback.
-
I have a similar question: i have 2 domains on the same server (nwnmenzo.pw and nwnmenzo.com) the have their own dns reciords..when I add the txt record for nwnmenzo.com, Github successfully verifies it. I go back to github and enter nwnmenzo.pw and get the txt info, enter the txt record on my server, but github can't verify it. I'm about to conclude it doesn't like the .pw extension... i've had a couple other site reject it as well... any suggestions |
Beta Was this translation helpful? Give feedback.
See this answer, with one slight correction: