Locked lesson.
About this lesson
Once your website project is done, you'll probably want to use your own domain name. In this lesson, we'll discuss how to add a domain name to your new project.
Exercise files
Download this lesson’s related exercise files.
39 - Add Domain Name.docx57.5 KB Add Domain Name - Solution.docx
56.1 KB
Quick reference
Add Domain Name
You can easily use your own custom domain name with your Heroku app.
When to use
Do this whenever you want to use a domain name for your app.
Instructions
Adding a domain name is a two step process.
- Add it to Heroku.
- Point your Domain name to Heroku at your registrar (where you bought the domain).
To add your domain name to heroku, log into your heroku account at Heroku.com and click on your app. Then click on Settings, then click on Add Domain. Type your domain name in (www.yourdomain.com) and click save.
Next, log into your registrar and go to advanced DNS setttings. Add a CNAME. For host, enter www, and then enter the URL of your Heroku app.
Hints & tips
- Add Domain name to Heroku
- Add CNAME to your registrar
Lesson notes are only available for subscribers.