Problem
Summary
You need to get an apex domain (https://yoursite.com) you purchased at GoDaddy resolving correctly.
Explanation
The problem you face if your asked to do this is that - for basic domain purchases at least - GoDaddy doesn’t let you add CNAME records for apex domains .
An apex domain refers to https://yoursite.com rather than https://www.yoursite.com.
Solution
Explanation
- The advice from GoDaddy is that you must delete all
A&CNAMErecords on GoDaddy first before adding any otherCNAMEorArecords. - You must replace the
CNAME@record with anA@record using the IP of your host provider.
My host is surge.sh, who provide their IP in this documentation.
Thus, to have my domain recognised when deploying to surge I needed to delete all existing A & CNAME records, and to add the following two records following in the Type : Name : Value format:
CNAME: www : na-west1.surge.sh
A : @ : 45.55.110.124
Once complete, my domain resolved within 5 minutes.
If you’re struggling to locate your providers IP, try messaging them on Twitter or searching StackOverflow, but once you have it, it should do the trick.
Original source: GoDaddy Forums
Top comments (0)