Setup Custom Domain on Heroku from GoDaddy

Add new custom domain to Heroku

heroku domains:add www.example.com
heroku domains:add example.com

Add both with www. and no www. domain names.

It will look like the following
Screen Shot 2014-04-23 at 5.54.34 PM

Login to Godaddy and add/edit host:www to your heroku app, it will looks like follows:
Screen Shot 2014-04-23 at 5.50.46 PM

Add a forwarding rule to that http://example.com will be directed to http://www.example.com
Screen Shot 2014-04-23 at 5.50.21 PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: