You need to get an apex domain (https://yoursite.com) you purchased at GoDaddy resolving correctly.
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 .
- The advice from GoDaddy is that you must delete all
CNAMErecords on GoDaddy first before adding any other
- You must replace the
@record with an
@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
CNAME records, and to add the following two records following in the
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