O'Reilly logo

Heroku Cloud Application Development by Anubhav Hanjura

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring domains the right way

When we deploy a web application to Heroku, the application is accessible via the herokuapp.com app subdomain (in the cedar stack). For example, if your application is named myshoppingcart, the fully qualified Heroku URL for the application would be http://myshoppingcart.herokuapp.com. If you are an e-commerce site that wants to attract new users, you may want to use a more custom web URL for the site—for example, www.buyshoes.com or www.someecomsite.com. We can achieve this in Heroku by configuring the application to use a custom domain. Heroku provides the ability to map one or more custom domains to any application transparently. We start by getting a small introduction to the domain name system or DNS which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required