Deploy Rails 5.2 with a TLD, Namecheap, Heroku, Codeanywhere

Learn how to deploy your own Rails 5.2 app to a top-level domain, easily, even on Windows!
English [Auto]
Be able to deploy a Rails app from Codeanywhere


  • A computer and access to the internet


In this video course we will:

- Buy a domain for $0.88 on Namecheap

- Sign up for Codeanywhere online code editor

- Install Rails on Codeanywhere

- Signup for Heroku and Bitbucket

- Learn how to perform some basic tasks in Codeanywhere such as restarting the container and showing our container info

- Add an SSH key to Bitbucket

- Push Cloudanywhere code and see how to deal with problems when the code on our remote (Bitbucket) conflicts with code on our local environment (Codeanywhere environment)

- Install Heroku toolbelt on Codeanywhere

- Log into Heroku via command line using toolbelt and run the heroku create command

- Bundle install without production

- Deploy our app to a heroku subdomain with a custom index page

- Add a TLD (top-level domain) to our Heroku dashboard

- Update the CNAME record on Namecheap

- Successfuly complete the deployment of our Rails app to a TLD (top-level domain)

Who this course is for:

  • People trying to learn Rails who would like to deploy their own projects on top-level domains

Course content

1 section16 lectures31m total length
  • Register a Namecheap account
  • Buy a new domain and email on Namecheap, sign up for Codeanywhere
  • Install Rails on Codeanywhere
  • Serve a Rails project on Codeanywhere
  • Sign up for Heroku and Bitbucket
  • Restart the container in Codeanywhere and show the info tab
  • 007 Adding a public SSH key to Bitbucket
  • 007b Pushing Cloudanywhere code gets rejected because of README on remote
  • 007c Fetching remote changes and pushing local repo successfully
  • 010 Installing heroku toolbelt on Codeanywhere
  • 011 Logging into Heroku via toolbelt and running the heroku create command
  • 012 Bundle install without production
  • 013 Deploying our Rails app with a custom welcome message to Heroku subdomain
  • 014 Add a TLD (top-level domain) to Heroku dashboard
  • 015 Update the CNAME record on Namecheap
  • 016 Our app successfully propagated to our TLD


Full Stack Developer
Ajdin Imsirovic
  • 4.0 Instructor Rating
  • 213 Reviews
  • 27,478 Students
  • 2 Courses

Ajdin Imsirovic is the author of several courses on Udemy. He has also published a few IT books:

- Bootstrap 4 Cookbooks,

- Elm Web Development,

- Vue JS Quickstart,

- Vue CLI Quickstart

He is also blogging regularly on his website and on the Medium platform.