About domain verification for GitHub Pages
When you verify your custom domain for your personal account or organization, only repositories owned by your personal account or organization may be used to publish a Páginas de GitHub site to the verified custom domain or the domain's immediate subdomains.
Verifying your domain stops other GitHub users from taking over your custom domain and using it to publish their own Páginas de GitHub site. Domain takeovers can happen when you delete your repository, when your billing plan is downgraded, or after any other change which unlinks the custom domain or disables Páginas de GitHub while the domain remains configured for Páginas de GitHub and is not verified.
When you verify a domain, any immediate subdomains are also included in the verification. For example, if the github.com
custom domain is verified, docs.github.com
, support.github.com
, and any other immediate subdomains will also be protected from takeovers.
It's also possible to verify a domain for your organization or enterprise, which displays a "Verified" badge on the organization or enterprise profile and, on Nube de GitHub Enterprise, allows you to restrict notifications to email addresses using the verified domain. For more information, see "Verifying or approving a domain for your organization" and "Verifying or approving a domain for your enterprise."
Verifying a domain for your user site
-
En la esquina superior derecha de cualquier página, da clic en tu foto de perfil y después da clic en Configuración.
-
In the "Code, planning, and automation" section of the sidebar, click Pages.
-
A la derecha, haz clic en Agregar un dominio.
-
Debajo de "¿Qué dominio te gustaría agregar?", ingresa aquél que quieras verificar y haz clic en Agregar dominio.
-
Sigue las instrucciones debajo de "Agregar un registro de TXT de DNS" para crear el registro de TXT con tu servicio de hospedaje de dominio.
-
Wait for your DNS configuration to change, this may be immediate or take up to 24 hours. You can confirm the change to your DNS configuration by running the
dig
command on the command line. In the command below, replaceUSERNAME
with your username andexample.com
with the domain you're verifying. If your DNS configuration has updated, you should see your new TXT record in the output.dig _github-pages-challenge-USERNAME.example.com +nostats +nocomments +nocmd TXT
-
Después de confirmar que tu configuración de DNS se actualizó, puedes verificar el dominio. Si el cambio no fue inmediato y navegaste fuera de la página anterior, regresa a los ajustes de las páginas siguiendo los siguientes pasos y, a la derecha del dominio, haz clic en el y luego en Seguir verificando.
-
Para verificar tu dominio, haz clic en Verificar.
-
Para asegurarte de que tu dominio personalizado permanezca verificado, mantén el registro de TXT en la configuración DNS de tu dominio.
Verifying a domain for your organization site
Organization owners can verify custom domains for their organization.
- En la esquina superior derecha de GitHub.com, haz clic en tu foto de perfil y luego en Tus organizaciones.
- Junto a la organización, haz clic en Configuración.
- In the "Code, planning, and automation" section of the sidebar, click Pages.
- A la derecha, haz clic en Agregar un dominio.
- Debajo de "¿Qué dominio te gustaría agregar?", ingresa aquél que quieras verificar y haz clic en Agregar dominio.
- Sigue las instrucciones debajo de "Agregar un registro de TXT de DNS" para crear el registro de TXT con tu servicio de hospedaje de dominio.
- Wait for your DNS configuration to change, this may be immediate or take up to 24 hours. You can confirm the change to your DNS configuration by running the
dig
command on the command line. In the command below, replaceORGANIZATION
with the name of your organization andexample.com
with the domain you're verifying. If your DNS configuration has updated, you should see your new TXT record in the output.dig _github-pages-challenge-ORGANIZATION.example.com +nostats +nocomments +nocmd TXT
- Después de confirmar que tu configuración de DNS se actualizó, puedes verificar el dominio. Si el cambio no fue inmediato y navegaste fuera de la página anterior, regresa a los ajustes de las páginas siguiendo los siguientes pasos y, a la derecha del dominio, haz clic en el y luego en Seguir verificando.
- Para verificar tu dominio, haz clic en Verificar.
- Para asegurarte de que tu dominio personalizado permanezca verificado, mantén el registro de TXT en la configuración DNS de tu dominio.