Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change a Heroku domain to a custom domain?

Tags:

heroku

dns

To cut to the chase, I have an arbitrary Heroku domain that I'd like to transfer to a custom domain. I've never done this before. I've looked into it but haven't found a clear enough answer broken up into steps.

like image 287
Apane101 Avatar asked Jul 23 '13 06:07

Apane101


People also ask

Can I change Heroku URL?

If you already changed it via the web interface, you just need to update the heroku remote's URL, which you can do with git remote set-url heroku <newurl> . You can get the new URL from the web interface.

How do I link my Heroku domain to Google?

First open your app in the Heroku web page, then click the "Settings" button https://dashboard.heroku.com/apps/{your app name} Scroll down until you see the "Domains" section, Then click "Add domain" https://dashboard.heroku.com/apps/{your app name}/settings. Input the domain name you purchased from google (eg.

Can you use a GoDaddy domain with Heroku?

Does Heroku work with GoDaddy? Yes, Heroku can work with Godaddy by setting up a Custom Domain and configuring a DNS target to make your app accessible on this platform.


1 Answers

1) Buy a domain from a domain-registrar (godaddy.com, networksolutions.com)

2) Add the domain to your heroku app => heroku domains:add

3) You'll see an option to alter DNS records on your domain service provider's account dashboard, add a "www" C-Name DNS record and point it to your heroku app (e.g. yourapp.herokuapp.com)

like image 166
rb512 Avatar answered Oct 19 '22 15:10

rb512