skip to Main Content

I use GitHub pages to host React project, but when I add a custom domain I get a problem. The custom domain is taken on GoDaddy, I added all DNS records there. CNAME, A, and AAAA.

Also, I set redirection from non-www to www with a redirect option, because CNAME doesn’t allow to use @ and to point to www. But when I access the website I get an SSL error problem that connection is not secure. GitHub shows the status "DNS check successful" so that part is done correctly.

When you enter the website it shows

This server could not prove that it is customdomain.com; its security
certificate is from *.github.io. This may be caused by a
misconfiguration or an attacker intercepting your connection.

I see that GoDaddy told that he will not forward SSL on this way. So that is my other option?
GoDaddy problem

2

Answers


  1. How about obtaining an SSL Certificate first. You need SSL certificate for your custom domain.

    Login or Signup to reply.
  2. GoDaddy has specific settings. There you can’t set CNAME record with @. If you already use the forwarding option from GoDaddy please delete that. They will delete also one A record, but all GitHub A records too.

    You need to remove all A record if there are any that isn’t yours and add again GitHub A records.

    It should take some time to generate everything but it will work for sure.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search