Gitlab Pages: Failed to verify domain ownership

后端 未结 5 1393
既然无缘
既然无缘 2021-02-02 17:02

This morning I got emails for each of my Gitlab Pages that are hosted on custom domains, saying that the domain verification failed.

That\'s fine, because I don\'t think

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 17:31

    I really get a hard time to make it work. But in the end below settings worked for me.

    GoDaddy

    domain.com

    A record

    +-----------+---------------------+
    |   Host    |          @          |
    +-----------+---------------------+
    | Points To | 35.185.44.232       |
    +-----------+---------------------+
    

    To Verify your domain Add TXT record

    TXT record

    +-----------+-----------------------------------------------------------------+
    |   Host    |                                @                                |
    +-----------+-----------------------------------------------------------------+
    | TXT Value | gitlab-pages-verification-code=00112233445566778899aabbccddeeff |
    +-----------+-----------------------------------------------------------------+
    

    subdomain.domain.com

    CNAME record

    +-----------+---------------------+
    |   Host    |  subdomain          |
    +-----------+---------------------+
    | Points To | namespace.gitlab.io |
    +-----------+---------------------+
    

    To Verify your domain Add TXT record

    TXT record

    +-----------+-----------------------------------------------------------------+
    |   Host    |             _gitlab-pages-verification-code.subdomain           |
    +-----------+-----------------------------------------------------------------+
    | TXT Value | gitlab-pages-verification-code=00112233445566778899aabbccddeeff |
    +-----------+-----------------------------------------------------------------+
    

    Note subdomain and verification code will be found under settings>page (create/details) GitLab Pages IP on GitLab.com has been changed from 52.167.214.135 to 35.185.44.232 in 2018

提交回复
热议问题