1
votes

I am currently making a personal website. I created the templates and I purchased a google .dev domain. I decided to host it through GitHub-pages. I am able to get to the website by using "username.github.io". When I add the custom domain name (myname.dev) the "enforce https" button cannot be clicked. It also gives me the error, "Domain's DNS record could not be retrieved."

In the google domains site, I "use the google domains name servers", and DNSSEC is enabled. But I don't know what to put in for the "registered hosts" and the "synthetic records". Perhaps this is my issue? Please let me know!

1
You should give the actual domain so people can take a look at your records. - ceejayoz
Currently, it is at. carlossamaniego88.github.io. but I would like it to be carlossamaniego.dev - CarlosX2X

1 Answers

1
votes

You should follow "Using a custom domain with GitHub Pages", especially considering GitHUb pages only supports two types of custom domains:

  • apex domains ( example.com is an apex domain because it doesn't have any subdomain parts. Whereas www.example.com is not an apex domain because it contains the subdomain part www.)
  • subdomains (www.example.com is a www subdomain, blog.example.com is a custom subdomain)

In your case, to set up an apex domain, such as example.com, you must configure an ALIAS, ANAME, or A record with your DNS provider. See "Setting up an apex domain".