Configuring DNS

Originally, I wanted to host my site on Google Sites and set up the DNS to do so, it worked. I’ve changed my mind and decided to reconfigure the DNS to use GitHub instead. I’ve followed the steps on https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site, but my site stephaniecristea.me is still throwing an error :confused:

I’d like to note that I’ve already gone in and added the site link to the repository on Github and removed the connection from the Google Sites.

1 Like

Hi @1cristeaste, welcome to the GitHub Support Community!

It looks like you’ve only set up your domain’s DNS records using the www subdomain, but you’ve instead attached the apex domain—the domain without the www—to your Pages site. To use the apex domain you’ll also need to set up the A records on the root domain—without the www.

To fix this you’ll need to add the A records listed in step 4 of the instructions here:

1 Like

I’ve followed the next step, waited a couple of hours (I heard it takes a couple of hours for the changes to trickle down) and it still doesn’t work. :confused:

1 Like

It looks like you’ve set up the ALIAS record on that domain to point to itself rather than pointing it towards GitHub Pages. I’m not super familiar with ALIAS records but I believe you need to point them towards your GitHub address: 1cristeaste.github.io.

That said I’d probably recommend removing it and adding the 4 A records that point towards GitHub IPs instead to guarantee it works.

1 Like