我希望我的自定义域指向我在heroku上托管的want应用程序。我需要关于如何在主机端进行配置的帮助。我已经执行过的步骤。
。
$ heroku domains:add samplecustomdomain.com
$ heroku domains:add www.samplecustomdomain.com
$ heroku domains
This command gives output something like -
Domain Name DNS Record Type DNS Target
samplecustomdomain.com ALIAS or ANAME xyz1.herokudns.com
www.samplecustomdomain.com CNAME xyz2.herokudns.com ( a) 域管理--它有更新名称服务器、创建子名称服务器等选项
( b) DNS区域--它可以添加诸如A (主机)、CNAME(别名)、MX (邮件交换机)、TXT (文本)、AAAA (IPv6地址记录)、NS (名称服务器)、SRV、等选项。
我想我必须修改CNAME(alias)来注册我的应用程序。在CNAME(别名)下,我必须提供以下字段的值
Host -
Points to -
TTL - 请帮助为上述字段提供哪些值。
发布于 2020-07-17 16:49:48
在DNS区域中,添加一个别名/AName/ CNAME记录(如果Hostinger有别名或AName,请使用它,如果不使用,则可以使用CNAME):
Host samplecustomdomain.com
Points to xyz1.herokudns.com
TTL 3600 (or use the default if there's any)然后添加CNAME记录:
Host www.samplecustomdomain.com
Points to xyz2.herokudns.com
TTL 3600 (or use the default if there's any)如果您已经拥有上述记录的记录,则需要删除或编辑现有记录以反映上述情况。
https://stackoverflow.com/questions/62952243
复制相似问题