首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在BigRock中添加Heroku目标

无法在BigRock中添加Heroku目标
EN

Stack Overflow用户
提问于 2019-04-14 07:08:02
回答 3查看 260关注 0票数 0

我有一个托管在Heroku服务器上的免费服务应用程序。我正在添加一个从BigRock购买的自定义域。

在Heroku中添加自定义域时,它会给我一个DNS Target -

abc-def-somelongstring.herokudns.com

然后我去管理BigRock的控制台,尝试添加名称服务器,并将上面的目标粘贴到名称服务器2输入字段中。但这是个错误。

abc-def-jvxgdae599y1e3ftm3bijxxc.herokudns.com NameServer不是有效的名称服务器。

我和BigRock支持小组聊了聊,他们说(名称服务器的格式)是不正确的。

因为它是免费的,所以Heroku不让我打开一张支持票。请帮帮忙。我是初学者,所以真的不知道这里出了什么问题?

EN

回答 3

Stack Overflow用户

发布于 2019-04-16 06:31:09

代码语言:javascript
运行
复制
The value you entered can be used as cname not as name server because  it is domain url.Just to point site to heroku you have 2 options :

1.CNAME: Add the domain to your heroku app => heroku domains:add domainname

Go to your domain service provider account and update/add a "www" CName DNS record and point it to your heroku app (e.g. appname.herokuapp.com)


2.PointDNS: This is addin available on heroku which can help in pointing site to heroku hosting.Steps to use pointDNS in you application hjosted on heroku :

Add the domain to your heroku app => heroku domains:add domainname

    Go to resources-> add `PointDNS` addon,
    a.Verify by clicking on pointDNS
    b.Copy all NS records from bigrock to pointDNS
    c.Update NS issued by pointDNS (dns8.pointhq.com,dns12.pointhq.com) in bigrocks


Note: If you are ever going to add ssl on your website, then you need to move your dns records to heroku with pointDNS(addon available on heroku - free for 1 domain and 20 dns records).
票数 1
EN

Stack Overflow用户

发布于 2019-04-14 14:01:42

该值不是名称服务器;它只是一个域。您的期望是您有您的DNS在其他地方,例如与您从公司购买的域名,并您配置一个记录指向Heroku域。

在BigRock DNS控制面板中,添加指向Heroku给您的域的CNAME记录。例如,您可以从值为CNAMEwww.yourdomain.com设置一个abc-def-jvxgdae599y1e3ftm3bijxxc.herokudns.com记录。

票数 0
EN

Stack Overflow用户

发布于 2019-04-16 16:47:28

您可能正在使用带掩蔽的域转发。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55672811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档