Home:ALL Converter>Setting up a GoDaddy domain name with Heroku

Setting up a GoDaddy domain name with Heroku

Ask Time:2018-03-16T20:55:49         Author:mur7ay

Json Formatter

I'm new to using Heroku so I'm a bit confused because I initially had my website hosted on GoDaddy, but when I added node to my web app I switched to Heroku.

So what is happening is when I visit my website using www. it goes to the correct, updated site, however, when I try the naked route it takes it to the older version of the website. I figured since it's still showing the older site with the naked route that there was a problem on GoDaddy, therefore, I updated one page on GoDaddy and sure enough, the page is updated via the naked route now.

That leads to my first question. If my website is now on Heroku, does it still need to be hosted on GoDaddy as well? Additionally, if the first question is yes, then how do I set up the naked route to point to the same site as the www. route?

I've already have the host as www with the 'points to' pointing to the Heroku domain name but still getting the problem above. This is why I believe the problem lies with the hosting on GoDaddy.

Author:mur7ay,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49321317/setting-up-a-godaddy-domain-name-with-heroku
Pablo :

You don't need to host a copy of your site at Goddady.\n\nIn Godaddy, you must have a CNAME www pointing to heroku:\n\n\nyour_application_name.herokuapp.com\n\n\nor \n\n\nwww.your_application_name.com.herokudns.com.\n\n\nTo use heroku for your naked domain, you can define a redirection for the naked domain to your www:\n\n\nGo to My domains (https://dcc.godaddy.com/manage/)\nClick on Manage connection\nSet forwarding option (choose www.your_application_name.com, forward type permanent)\n",
2018-03-19T02:53:39
yy