Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use both www and naked domain to point my heroku app

Tags:

heroku

dns

I am having trouble to set both my www.domain.org and domain.org to point to Heroku rails app.

I did a CNAME from www to www.example.org.herokudns.com. it works fine and my www.example.org point to my example.herokuapp.com

Concerning https://example.org

Should I do a CNAME from @ to example.herokudns.com ? ALIAS is only accepted for IPs with my domain provider..

I having trouble finding an answer in stackoverflow.

Should I use http://wwwizer.com/naked-domain-redirect ? Do I have a solution without using a third party free service ?

like image 787
petitkriket Avatar asked Sep 03 '25 03:09

petitkriket


1 Answers

For naked domain example.com you can use the forwarding functionality. If you have purchased domain from GoDaddy you can follow this:

Go to manage DNS and scroll down to forwarding section where you will see something like this: enter image description here

You can choose https and forward to www.example.com. (You can also make your naked domain point to some other subdomain)

like image 109
SWETA KESUR Avatar answered Sep 05 '25 01:09

SWETA KESUR