adding custom domain in heroku with big rock domain - heroku

I have a heroku app which i want to point to www.infoxpression.in
I added the domain name on heroku and added CNAME record in my bigrock DNS management but it is not working...
Big rock DNS management records:
Heroku dashboard:
Am i doing it wrong?

To connect your heroku hosting to big rock domain,
You have to open your big rock domain account and in the DNS Management page add in the cname the host: www and in the point to: your heroku url And in the heroku page in the settings add three domains:
1 *.xyz.com
2: xyz.com
3. www.xyz.com
This is to point your domain name from heroku side
heroku domains:add example.com
heroku domains:add www.example.com
heroku domains:add *.example.com
This should work :) Check this video https://www.youtube.com/watch?v=kKGSGT7mSnQ&feature=youtu.be

Please make sure that your bigrock account has default nameservers
like in the image:
Domain registration >> Name Servers
Do the domain forwarding as well.
Domain forwarding >> Manage domain forwarding >> add new
sub-domain prefix = (leave it blank if you have no subdomain)
destination URL = http://www.yourdoamin.com
URL masking is off
However, it will take 24-48 hours for updating.

Related

Trouble connecting domain name to Heroku app

I have bought a domain name with Porkbun.com, I have added that domain to my herokuapp domains and received a DNS target. I have added an ALIAS record with host: 'mywebsite.domain' and target as the DNS target I received from Heroku.
When trying to access the domain I get 'bad Request (400)' error. I have then tried these three separate steps:
As instructed by Porkbun I added another ALIAS record with host: www.mywebsite.domain and target: 'mywebsite.domain'.
I deleted all the ALIAS records I had and added a CNAME record with host: 'www.mywebsite.domain' and target: 'mywebsite.herokuapp.com'.
Changed CNAME target to be the DNS record I received from Heroku.
In the three cases I receive a Heroku page saying 'There is nothing here' and titled 'no such app'.
Similar problem occurred to me yesterday when i tried to deploy a ghost app to heroku pointing to a custom domain name purchased through porkbun. After googling i found out that the IT TAKES ALMOST A DAY TO RESOLVE THE DNS POINTING TO THE CUSTOM DOMAIN in porkbun.
Solution
I changed the CNAME RECORD pointing to the herokuapp url;-"yourappname.heruko.com"
Add the host as WWW
You can also use ALIAS-CNAME RECORDING to point to the heroku app url.
heroku domains:add example.com
heroku domains:add www.example.com
heroku domains:add *.example.com
This is to point your domain name from heroku side
Check out this video its about connecting your domain name to godaddy. I think its the same way with porkbun youtube.com/watch?v=kKGSGT7mSnQ&t=75s
Please let me know if this does work for you

use both www and naked domain to point my heroku app

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 ?
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:
You can choose https and forward to www.example.com. (You can also make your naked domain point to some other subdomain)
heroku domains:add example.com
heroku domains:add www.example.com
heroku domains:add *.example.com
This is to point your domain name from heroku side
Here is a youtube video to make it easier https://www.youtube.com/watch?v=kKGSGT7mSnQ&t=29s
Please let me know if this does work

Heroku + GoDaddy configuration

I am having trouble configuring my domain with Heroku and Godaddy. I made a custom domain using the domain name I bought which generated;
www.example.herokudns.com
Then I head over to Godaddy and select;
CNAME
Host -> www
points to -> example.herokudns.com
Now it works but not without the
www
So I create a custom root domain
heroku domains:add example.com
but no examples are given for Godaddy. So how do I configure my domain to get "without www" to work? Thanks

Custom Domain pointing to heroku app changes URL in browser?

I have an website hosted on heroku. App url is like example.herokuapp.com
I bought domain with name www.example.com and on visiting this URL I pointed to example.herokuapp.com. This works fine however URL in browser changes to heroku app rather it should stay custom domain www.example.com
What configurations are required?
That suggests you're using domain forwarding at your DNS provider and not adding a CNAME entry to your domain pointing at example.herokuapp.com for the www host

How to point subdomain to a Heroku app, and root domain to another Heroku app?

I'm having trouble with routing a subdomain to a Wordpress blog hosted on Heroku, and the root domain to another Heroku app.
If I have purchased a domain called cheese.com on NameCheap and I'd like to route a subdomain like blog.cheese.com how could I do this on Heroku?
What type of setting would I need to place on each Heroku application?
I'm not sure of exact directions for NameCheap but the general way to redirect a subdomain to the Heroku app would be to add a CNAME record to the subdomain. To redirect the root domain you will need to set a CNAME like functionality at the zone apex.
Subdomain
blog.cheese.com would have a CNAME record pointing to myblog.herokuapp.com, you may also want to create a CNAME record for www.blog.cheese.com.
An example record could be:
Name: blog.cheese.com
TTL: 14400
Type: CNAME
Address: myblog.herokuapp.com
Once both CNAME records are set up you will need to tell heroku to point the domain to your app.
heroku domains:add --app myblog blog.cheese.com
If you do this for both your subdomains they should now point to your Heroku apps.
Root Domain
To point the root domain you will need to set a couple of records
Host Name: #
URL: http://www.cheese.com
Record Type: URL Redirect
Host Name: www
URL: mymainpage.herokuapp.com
Record Type: CNAME (alias)
Once both records are setup just call the command below via Heroku to point your domains to it.
heroku domains:add --app mymainpage.herokuapp.com cheese.com
Here are a couple of places to look for extra information.
Point namecheap domain to Heroku
Custom Domains | Heroku Dev Center
You will have to add the custom domain to your heroku app - https://devcenter.heroku.com/articles/custom-domains -
After setting the necessary DNS, you can add the wildcards

Resources