title: Error "change this to a CNAME record" on Github pages custom domains despite having a CNAME set up
body: <p>I'm setting up a custom domain on Github pages which I've set as <code>www.dineshraj.com</code> and I have a CNAME record on my registrar that reads as follows:</p>
  
  <p><code>CNAME   www.dineshraj.com   dineshraj.github.io</code> </p>
  
  <p>This is the only DNS record I have set. </p>
  
  <p>However when I go to the Pages options for my repo in Github, I get the following error: </p>
  
  <blockquote>
    <p>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"</p>
  </blockquote>
  
  <p>I think this also has the knock on effect of not me not being able to enable Enforced HTTPS.</p>
  
  <p>I don't have any A records listed so I'm a bit confused. </p>
  
  <p>Has anyone come across this before?</p>