How to configure heroku application DNS to Godaddy Domain?

后端 未结 6 2059
别跟我提以往
别跟我提以往 2020-11-30 16:35

I have created a heroku application and wants to give domain to it from godaddy.com.

I have configured all three hosts provided by heroku but now I am getting error

6条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 17:19

    You can't use the naked domain of your-domain.com if it is not redirected to the www.your-domain.com. Heroku use the www.yourdomain.com which act here as a subdomain. So when you follow the default instruction to use your-domain.com then you will need to assign both of them.

    We can actually assign only the naked domain without the www.your-domain.com. Use only your-domain.com when the domain's dns provider (NameServers) support ALIAS or ANAME for the @ Record to example.herokuapp.com without CNAME www.your-domain.com to it.

    It will let you to point www.your-domain.com to other hosting separately (independent).

提交回复
热议问题