在GoDaddy上将Surge CNAME记录的主机名设置为@ [英] Setting hostname of a Surge CNAME record to @ on GoDaddy
问题描述
我正尝试通过Surge将投资组合部署到我的域名www.dillonbartkus.com.
I'm trying to deploy my portfolio to my domain www.dillonbartkus.com with Surge.
说明如下:
我正在使用通过Google Suite购买的GoDaddy域.
I'm using a GoDaddy domain that I bought through Google Suite.
在图片中显示了一个CNAME记录,其主机名为www
和@
,值为na-west1.surge.sh
.当我尝试在DNS记录中执行此操作时,可以使用www
作为名称来执行CNAME,但是当我尝试执行@
时,会出现错误消息输入主机名为"@", 子域"'.
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.
如何添加/编辑另一个以包含@?
How do I add / edit the other to include @ ?
推荐答案
您必须删除所有A
& CNAME
首先在GoDaddy上记录,然后遵循 Surge文档. GoDaddy仅允许添加CNAME
www
记录,而不允许添加@
.
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 @
.
文档指出,您应该使用Surge的IP将CNAME
@
(顶点域)记录替换为A
@
记录.
The documentation states you should replace the CNAME
@
(apex domain) record with an A
@
record using Surge's IP.
因此,在GoDaddy上,您必须删除所有现有的A
& CNAME
记录,并按照Type
:Name
:Value
格式添加以下两个记录:
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
这在5分钟内解决了我的域.
This had my domain resolving within 5 minutes.
https://www.godaddy.com/community/Managing-Domains/domain-DNS-with-surge-sh/td-p/24075
这篇关于在GoDaddy上将Surge CNAME记录的主机名设置为@的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!