How to connect my domain bought on name.com with my herokuapp?

前端 未结 1 1757
野性不改
野性不改 2021-01-23 05:26

I bought my domain on Name.com I got my App on heroku.

On heroku added a new \"custom domain\":

Domain Name      DNS Target
mydomain.com     mydomain.com         


        
1条回答
  •  南方客
    南方客 (楼主)
    2021-01-23 06:14

    It needs to point to yourapp.herokuapp.com and you'll need to map www to the Host field.

    In order to point your root domain, i.e. yourdomain.com to the Heroku app, you'll need to use a DNS service that allows CNAME flattening like CloudFlare.

    See this article: https://devcenter.heroku.com/articles/custom-domains#add-a-custom-root-domain

    0 讨论(0)
提交回复
热议问题