Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I set the CNAME record on network solutions for my heroku app?

I bought a domain name on network solutions. I have a working app at blooming-summer-8571.herokuapp.com. I want my domain name on network solutions to point to this app. So in the CNAME records. It has a box for alias, ttl, and a drop down menu for @ (none) or www . Then there is another option you can check (instead of the drop down menu) to fill out an other host name.

So which is the alias? Should I check other host name and put in the heroku app's url? This is all done under my DNS settings for the domain I purchased so I assume that I don't have to fill it out anywhere? The online resources I have found are rather unhelpful.

like image 597
BigBoy1337 Avatar asked Nov 04 '22 19:11

BigBoy1337


1 Answers

I just went through the same thing.

  1. Log in to Network Solutions (Select manage my domains when you log in)
  2. Click "Manage" on the domain you want to point to Heroku
  3. Click "Edit Advanced DNS Records"
  4. Click "Edit A Records" and clear the IP addresses for "www" and "* (All Others)". Put 205.178.189.129 in for "@ (None)" then click continue
  5. Click "Edit CName Records"
  6. put "www" in for the Alias. And "YOURAPP.herokuapp.com" in for the "Other Host" field. Make sure the radio button for "Other Host" is selected. Then click continue.
  7. IF you get an error claiming you already have an A record for www then log out of Network Solutions, log back in, and try again.

This will point www.YOURDOMAIN.com to YOURAPP.herokuapp.com

To make sure it worked (give it some time before checking) open up a terminal window and type :

host www.YOURDOMAIN.com

It should respond with something like ..

www.YOURDOMAIN.com is an alias for YOURAPP.herokuapp.com.

Resources:
https://devcenter.heroku.com/articles/custom-domains#domain-precedence http://www.networksolutions.com/support/how-to-forward-your-network-solutions-domain-name-to-a-free-blog-service/

like image 157
Fabian Avatar answered Nov 09 '22 09:11

Fabian