Skip to content

Gitlab.com Pages: Verification does not recongize txt entires for CNAME entries

Summary

Gitlab Pages on Gitlab.com doesn't recognize txt entires for CNAME

Bug has been around for a while and reported elsewhere on the forum.

https://forum.gitlab.com/t/add-custom-domain-to-gitlab-pages-with-gandi/18481

and on StackOverflow

https://stackoverflow.com/questions/48913026/gitlab-pages-failed-to-verify-domain-ownership/52279089#52279089

The stackoverflow issue is exactly what I am experiencing. Have no tried using an A name record because it is currently being used elsewhere.

Steps to reproduce

  1. Make a Gitlab pages project. gitlab.com/username/project-name
  2. Add subdomain, copy Gitlab CNAME and txt pages verification code
  3. Setup Domain Registry with CNAME + txt
  4. Click verification button

Example Project

https://gitlab.com/jbwyatt4/client-test

https://jbwyatt4.gitlab.io/client-test/

http://client-test.jbwyatt4.com/

What is the current bug behavior?

Clicking verification button returns a Gitlab error: "Failed to verify domain ownership".

What is the expected correct behavior?

To be verified

Output of checks

This bug happens on GitLab.com

Edited by jbwyatt4 (John Wyatt)