Heroku/GoDaddy: send naked domain to www [closed]

On GoDaddy, use the “Forwarding” feature to setup a forward from yourdomain.example to www.yourdomain.example. The forwarding feature can be accessed in the Domain Manager at the bottom of the “Domain Information” section:

Domain forwarding in GoDaddy

If you do this then all traffic to yourdomain.example will be routed to the Heroku app CNAME (which is the better approach).

One note, however, if you are on the Cedar stack then don’t use proxy.heroku.com for the host of your www CNAME. Instead use your-app-name.herokuapp.com. These details are covered here.

GoDaddy also specifies that in order for your domain name to forward, its A record must be pointed to 64.202.189.170 or must fall between the following ranges: 50.63.202.150.63.202.31 or 184.168.221.1184.168.221.31.

Leave a Comment