Search code examples
githubgithub-pagessquarespace

GitHub Pages Custom Domain with Squarespace Domain Not Propagating


I am trying to set up a custom domain for GitHub Pages, specifically with the domain lordimass.net

I bought the domain from Squarespace yesterday morning and have removed squarespace's default DNS records pointing the domain towards their servers and replaced it with the following:

+-------------------+-------+---------------------+
|    Host    | Type |    Data     |
+-------------------+-------+---------------------+
| lordimass.net           | A           | 185.199.108.153           |
| lordimass.net           | A           | 185.199.109.153           |
| lordimass.net           | A           | 185.199.110.153            |
| lordimass.net           | A           | 185.199.111.153             |
| rff.lordimass.net      | CNAME| lordimass.github.io    |
| www.lordimass.net | CNAME| lordimass.github.io    |
+-------------------+-------+---------------------+

I have also gone to the GitHub Repo and changed the custom domain to lordimass.net, and have now waited 24hrs before performing the DNS check. I currently get the error "Both lordimass.net and its alternate name are improperly configured. Domain does not resolve to the GitHub Pages server"

Also, using DNS checkers (Specifically dnschecker.org and whatsmydns.net) shows that the change has not propagated at all, and none of their servers across the world reflect the change in DNS records. At this point I'm sure I must have done something wrong because surely after a full 24hrs it should have resolved at least somewhere in the world, unless I'm mistaken and I'm just being impatient? If I am I'll just take this post down, honestly just looking for reassurance that I haven't done something dumb.


Solution

  • The host category should have an @ instead of the domain, the domain should not appear in the host column at all.

    As well as this, for the CNAME records, the subdomain should be used alone, thus removing the domain from it. The corrected version of my setup above is therefore as follows:

    Corrected table with A records replaced with @, and CNAME records replaced with rff and www