Error "change this to a CNAME record" on Github pages custom domains despite having a CNAME set up

Viewed 526

I'm setting up a custom domain on Github pages which I've set as www.dineshraj.com and I have a CNAME record on my registrar that reads as follows:

CNAME www.dineshraj.com dineshraj.github.io

This is the only DNS record I have set.

However when I go to the Pages options for my repo in Github, I get the following error:

Your site's DNS settings are using a custom subdomain, www.dineshraj.com, that's set up as an A record. We recommend you change this to a CNAME record pointing at [YOUR USERNAME].github.io"

I think this also has the knock on effect of not me not being able to enable Enforced HTTPS.

I don't have any A records listed so I'm a bit confused.

Has anyone come across this before?

0 Answers
Related