Posted by Oren
Today is a twofer on the screencast front.
Setting up custom domains & DNS is one of those necessary evils that no one likes, and is way more confusing than it should be. Adding insult to injury, there’s not one solution for all cases. At a high level, the process is fairly easy. First, you need to point your domain to Heroku with your DNS provider (such as GoDaddy). Once your domain is pointed to Heroku, you then need to tell Heroku so we can start serving traffic to your domain.
DNS is the means by which computers translate what you type in pretty human language (e.g. heroku.com) into computer terms (126.96.36.199). To figure out how to configure DNS & Heroku, you first need to ask yourself – Do I want email (email@example.com) or not? No email is easier to manage in the long run, though neither is hard.
Setting up Custom Domains without email
This is the easiest configuration. It uses something called “CNAMES” in DNS, which are just aliases. This means you are telling DNS to just ask us, Heroku, what the right IP address is. If we ever change the DNS settings, your domain is automatically updated. On the downside, using this arrangement means that you can’t get email. It’s a long and geeky discussion on why – if you’re interested in a blog post or screencast on the details, let me know in the comments!
Seting up Custom Domains WITH email
Screencast #2 shows you how to use A records for the root domain, and setup your MX records (Mail eXchange, which tell mail clients where to send email) so that you can use custom domains and email.
Other screencasts you want to see? Let me know in the comments.
Posted by Oren
We’re introducing a series of screencasts going over how Heroku works, how to use it, and some common ways to make your experience better.
To kick this off, I’ve put together a quick <5 minute overview of creating your first Heroku application.
Follow all our videos on our vimeo page
If you’ve got ideas on other screencasts you’d like to see, let us know in the comments!