Setting hostname of a Surge CNAME record to @ on GoDaddy

醉酒当歌 提交于 2020-04-16 04:32:08

问题


I'm trying to deploy my portfolio to my domain www.dillonbartkus.com with Surge.

The instructions are as follows:

instructions

I'm using a GoDaddy domain that I bought through Google Suite.

In the picture it shows a CNAME record with a hostname of www and @ and a value of na-west1.surge.sh. When I try to do this in my DNS records, I can do the CNAME with www for the name, but when I try to do the @ I get an error that says 'Enter your host name as "@", "sub-domain" '.

I have tried all different syntax for this, but it won't go through.

error

How do I add / edit the other to include @ ?


回答1:


You must delete all A & CNAME records on GoDaddy first, then follow the Surge documentation. GoDaddy only allows a CNAME www record to be added, not @.

The documentation states you should replace the CNAME @ (apex domain) record with an A @ record using Surge's IP.

Thus, on GoDaddy you must delete all existing A & CNAME records and add the following two records following a Type : Name : Value format:

CNAME: www : na-west1.surge.sh

A : @ : 45.55.110.124

This had my domain resolving within 5 minutes.

https://www.godaddy.com/community/Managing-Domains/domain-DNS-with-surge-sh/td-p/24075



来源:https://stackoverflow.com/questions/53620166/setting-hostname-of-a-surge-cname-record-to-on-godaddy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!