I am having issues adding a custom domain to my Github repository. I added these IPs (18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52) as an A (IPv4 Address) to my registered domain in Route 53, and added www.domain.co as an A (IPv4 Address) alias target with the registered domain bought through Amazon. Also, I have created a CNAME file in my repository with only my custom domain, with no www.
With all of this, my website does not work and I received this error message ( Domain’s DNS record could not be retrieved. For more information, see https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages/.)
Any help would be greatly appreciated!