Reputation: 4232
Quick noob question or two about Heroku.
I have a rails app I would like to deploy on Heroku.
If I want the address to be www.whatevername.ie do I need to purchase this domain name or does the custom domain name feature with Heroku allow me to do this?
Secondly, what is the difference between development and production with regards to deploying an app on Heroku? Once it's deployed and on the net, does this mean it is in fact "in production" so to speak?
Thanks!
Upvotes: 0
Views: 439
Reputation: 76784
Heroku
To answer your questions more fully, you need to appreciate that Heroku is a Platform As A Service
- meaning that it will provide the back-end infrastructure for your application, but that's it:
In terms of a domain name, it's not for Heroku to buy you a domain. A domain is literally just a "mask" for an IP address (a shop window), which means you have to buy it (as the DNS system takes a lot to manage & maintain)
Heroku's custom domain feature is simply a means for you to accommodate external domain name traffic to your application. You'll have to buy a domain (we use Namecheap, but there are 1,000's of domain registrars you can use)
--
Rails
If you want to run a Rails application, the development
and production
environments are very important, although not much different than each other.
As mentioned in the referenced question, the underlying differences between "production" and "development" modes / environments for Rails is efficiency. You're running the SAME source code in both environments - the difference is how that source is handled, compiled & served
--
Development
Production
--
By default, Heroku will run your Rails application in production
mode
Upvotes: 2
Reputation: 1102
If I want the address to be www.whatevername.ie do I need to purchase this domain name or does the custom domain name feature with Heroku allow me to do this?
You need to purchase the domain name.
-
Secondly, what is the difference between development and production with regards to deploying an app on Heroku? Once it's deployed and on the net, does this mean it is in fact "in production" so to speak?
Development is what's on your computer locally; production is what's on the internet for all to see (in this case, on Heroku).
Upvotes: 2