mdmb
mdmb

Reputation: 5283

Heroku - custom domain DNS

I am a complete newbie when it comes to redirecting etc.

I bought a domain (mydomain.co) and I have a heroku app (mydomain.herokuapp.com) (upgrading to paid in the upcoming month). What I want to do is to be able to access the heroku app after entering the domain url and stay o this domain, and not be redirected to mydomain.herokuapp.com.

My settings for the domain look like this (I translated it myself, so there may be some mistakes):

enter image description here enter image description here

With this settings, I can access my app but it is displayed in a frame, what's more - some of the pages do not work.

What I want to do is to be able to type mydomain.co and display mydomain.herokuapp.com but as regular site, and not inside a frame. What options should I choose?

Another thing is - will I be able to use the domain (which I paid for) and do the redirect if I do not buy a hosting from the company?

PS I added custom domains to my herokuapp and read their [guide], but I still do not understand.3.

Here are also my domain records - I believe it has something to do with this, but it so hard to test it as those DNS changes take some time.

enter image description here

Upvotes: 1

Views: 136

Answers (1)

Lars Skogshus
Lars Skogshus

Reputation: 56

You should remove your redirection. You also need to put a CNAME on mydomain.co with value mydomain.herokuapp.com.

Upvotes: 3

Related Questions