Best for · Web hosting

Ruby web hosting: the three ways to run a Ruby or Rails app, and what each costs

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • a platform (Heroku or Render) if you never want to touch a server: Heroku's always-on Basic dyno is $7 a month plus $5 for the smallest Postgres, and Render has a free tier that sleeps after 15 minutes.
  • shared cPanel hosting only for a small hobby app on a host that confirms Ruby support in writing.

Compared here

  • 01Hostinger VPS (Rails template)
  • 02Heroku
  • 03Render
  • 04Any Ubuntu VPS with Kamal
  • 05Shared cPanel hosting with Ruby support

Short answer

For most Ruby and Rails apps in 2026 the best value is a small VPS plus Kamal, the deploy tool that ships with Rails. The official Rails guide says you need an Ubuntu LTS server with 1 GB of RAM or more and a Docker Hub account; Kamal runs the app in Docker with zero downtime and gets you a free Let's Encrypt certificate. Hostinger's KVM 1 VPS (4 GB RAM) showed us $6.49 a month on a 24-month term, renewing at $11.99, and offers a one-click Rails template.

Pick a platform (Heroku or Render) if you never want to touch a server: Heroku's always-on Basic dyno is $7 a month plus $5 for the smallest Postgres, and Render has a free tier that sleeps after 15 minutes. Pick shared cPanel hosting only for a small hobby app on a host that confirms Ruby support in writing. Prices in USD as shown to our reader on 4 December 2026.

See Hostinger VPS plansTry HerokuTry Render

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From Hostinger, Heroku, Render and the Rails guides, read 4 December 2026. Prices in US dollars as shown to our reader, before tax; your page may show another currency.
OptionCheapest always-on setupDatabaseFree tierWho does the server workBest for
VPS + Kamal (e.g. Hostinger KVM 1)$6.49/mo for 24 months, renews $11.99/mo (4 GB RAM, 50 GB NVMe)Run your own Postgres, MySQL or SQLite on the boxNoYou (unmanaged)Most Rails apps, side projects that may grow
HerokuBasic dyno $7/mo (0.5 GB RAM)Essential-0 Postgres $5/mo (1 GB)No; Eco $5/mo sleeps after 30 minHerokuTeams who want git push and done
Render$7/mo instance (512 MB RAM) on Hobby workspace ($0)From $6/mo; free one expires after 30 daysYes; sleeps after 15 min, 750 hours/moRenderDemos, student projects, small APIs
Shared cPanel with RubyVaries; check the host confirms RubyUsually MySQLNoThe hostTiny hobby apps only

Money first. Hostinger pays affiliates "from 40%" per sale, per its partner page checked 1 December 2026, and our Hostinger link may earn us that. We have not checked whether Heroku or Render pay anything; their links go through our /go/ redirect in case they do. None of it changes the order below. Every price comes from the vendor's own page, read on 4 December 2026, in US dollars as shown to our reader. We did not deploy a test app on each and time it; we read every plan page and the official Rails guide.

The short answer

"Ruby web hosting" means one of three things, and they are not close in value:

  1. A VPS with Kamal. You rent a small Linux server and deploy with Kamal, the tool that comes inside Rails. Cheapest per gigabyte of RAM by a mile. You are the sysadmin.
  2. A platform (PaaS) like Heroku or Render. You push code, they run it. No server to patch. You pay more per gigabyte and you pay again for the database.
  3. Shared cPanel hosting with Ruby support. The old way. Cheap, crowded, and often Ruby is an afterthought next to PHP.

If you are building Rails in 2026, option one is what Rails itself now points you to. Option two is for people whose time costs more than a few dollars a month. Option three is for a tiny hobby app and not much else.

What a Ruby or Rails app actually needs

Before you compare hosts, know what you are buying for. From the official Rails getting started guide:

  • Ruby 3.2 or newer and Rails 8.1 or newer for the current guide.
  • For a Kamal deploy: a server running Ubuntu LTS with 1 GB of RAM or more, plus a Docker Hub account to store your app image.
  • A database. The guide's app uses SQLite, which it calls "the default for Rails." Many production apps use PostgreSQL or MySQL instead.
  • Background jobs. Production uses Solid Queue, which keeps jobs in the database and runs them in a separate process. Setting SOLID_QUEUE_IN_PUMA: true in config/deploy.yml lets Puma start and stop it for you, so you do not need a second server on day one.
  • Caching. Solid Cache, a database-backed cache store, comes included by default.

That last pair matters for your wallet. Older Rails apps needed Redis plus a separate worker. A modern Rails app can run web, jobs and cache on one small box. That changes the maths in favour of a single VPS.

Option 1: a VPS with Kamal (best value)

The official guide walks through it like this:

  1. Rent a server with Ubuntu LTS and at least 1 GB of RAM.
  2. Create a repository on Docker Hub.
  3. Put the server IP and registry username in config/deploy.yml.
  4. Export KAMAL_REGISTRY_PASSWORD, then run bin/kamal setup for the first deploy.
  5. Run bin/kamal deploy for every update after that.

Kamal runs the app in Docker containers and deploys "with zero downtime." Turn on proxy: ssl: true with your domain and Kamal gets a free Let's Encrypt certificate. A production Dockerfile and Thruster to serve assets are already in a new Rails app.

Example: Hostinger's Rails VPS

Hostinger sells KVM VPS plans with a one-click Rails template (Ubuntu 22.04 with Rails and OpenLiteSpeed). Here is what its Rails hosting page showed us on 4 December 2026:

PlanIntro price (24 months)Renews atvCPURAMNVMe storage
KVM 1$6.49/mo ($155.76 up front)$11.99/mo14 GB50 GB
KVM 2$8.79/mo ($210.96 up front)$14.99/mo28 GB100 GB
KVM 4$12.99/mo ($311.76 up front)$28.99/mo416 GB200 GB
KVM 8$25.99/mo ($623.76 up front)$49.99/mo832 GB400 GB

Things to know from the same page:

  • You pay the whole term up front. The monthly number is just the total divided by 24.
  • It is unmanaged: Hostinger's FAQ says technical support for your server is not included. You get an AI assistant and a customer success team for account questions.
  • Weekly backups, a firewall manager, a malware scanner and a free domain for a year are included.
  • There is a 30-day money-back guarantee.
  • One honest oddity: the KVM 2 card says 8 TB of bandwidth while the FAQ says 2 TB. Ask before you rely on either.

Should you use the one-click template or Kamal? The template gives you a "Yay! You're on Rails!" page fast, with the app living in an OpenLiteSpeed folder. Kamal is how the Rails team itself deploys. If you are learning, the template is fine. If you plan to keep the app, start with a plain Ubuntu image and Kamal; it is easier to move to another VPS later because nothing is tied to one host's control panel.

Any Ubuntu VPS works the same way with Kamal: Hostinger, DigitalOcean, Hetzner or others. Our DigitalOcean vs Hostinger page compares two of them, and unmanaged cloud hosting explains what "you are the sysadmin" really means.

Pick a VPS if you are comfortable with SSH and a terminal, want the most RAM for your money, or run more than one small app. Skip it if the words "security updates" make you nervous; someone has to apply them, and on an unmanaged VPS that someone is you.

Option 2: Heroku or Render (least work)

Heroku

Heroku is the classic "git push and it runs" platform, and it still is the easiest way to get a Rails app live. From its pricing page:

DynoPriceRAMNotes
Eco$5/mo0.5 GBSleeps after 30 minutes idle; personal accounts only
Basic$7/mo0.5 GBAlways on
Standard-1X$25/mo0.5 GBAdds Standard features
Standard-2X$50/mo1 GB
Performance$250 to $1,500/mo2.5 to 126 GBDedicated compute, autoscaling

The database is extra: Postgres Essential-0 is $5 a month (1 GB disk, 20 connections), Essential-1 $9 (10 GB), Essential-2 $20 (32 GB). The pricing page lists no free dyno and no free database.

So the cheapest always-on Rails app on Heroku is a Basic dyno plus Essential-0: $12 a month for 0.5 GB of RAM. Compare that with 4 GB on the cheapest VPS above. You are paying for not having to think, and for many teams that is a fair trade.

Render

Render is the newer platform many Heroku leavers land on. From its pricing page, the Hobby workspace is $0 and you pay per instance:

  • Free instance: $0, 512 MB RAM.
  • Smallest paid: $7 a month, 512 MB RAM. Then $25 for 1 CPU and 2 GB.
  • Postgres from $0 (free) or $6 a month for the smallest paid instance, $19 for 1 GB of RAM.

The free tier is real, but read the small print from Render's free docs:

  • A free web service spins down after 15 minutes with no traffic and takes about a minute to wake up.
  • You get 750 free instance hours a month per workspace.
  • The filesystem is wiped on redeploy or restart, and there is no SSH or shell access.
  • Outbound email ports 25, 465 and 587 are blocked, so use an email API rather than SMTP.
  • A free Postgres database expires 30 days after creation, with a 14-day grace period before Render deletes it.

That is fine for a demo or a school project. It is not fine for anything a customer touches.

Pick a platform if you want zero server work, deploy from GitHub, and a monthly bill in the tens of dollars does not hurt. Skip it if your app needs a lot of memory; per gigabyte, platforms cost several times what a VPS does.

Option 3: shared cPanel hosting with Ruby

Some shared hosts let you run Ruby apps from cPanel, often through a "Setup Ruby App" tool with Phusion Passenger. It works for small Sinatra or Rails apps. The trouble is that support is uneven and often not written down.

An example from our reading: hosting.com (the old A2 Hosting) has a Ruby on Rails platform page, yet the text names "PHP, Node.js, MySQL, PostgreSQL and more" and never mentions Ruby or which plans support it. Its shared plans list 5 to 50 websites and SSH access, but no Ruby versions. That does not mean it cannot run Ruby. It means you should get it in writing from support before you pay for a year.

Shared hosting also tends to lag on Ruby versions, may not let you run Solid Queue as a long-lived process, and puts you on a server with hundreds of other sites. For a WordPress blog that is fine. For a Rails app, it is the least comfortable chair in the bar.

Pick shared hosting if you already pay for a cPanel plan that confirms Ruby support and you want to run one small, low-traffic app on it. Skip it for anything new.

Who should pick what

  • Learning Rails, zero budget: Render's free tier. Accept the one-minute wake-up and the 30-day database.
  • Side project you want online properly: a 4 GB VPS and Kamal. Around $6.49 to $12 a month at Hostinger's shown prices, renewal included in your sums.
  • Small startup, no ops person: Heroku or Render paid tiers. Budget about $12 to $30 a month for a small app with a database, more as you grow.
  • Agency running many small client apps: a bigger VPS (8 to 16 GB) with Kamal, several apps per box.
  • Already on cPanel shared hosting: use its Ruby tool for a toy app only, and only if support confirms it.

Costs people forget

  • Renewal prices. Hostinger's KVM 1 goes from $6.49 to $11.99 a month after the first term. Still cheap, but put it in your sums.
  • The database. On platforms it is a second line on the bill. On a VPS it shares your RAM.
  • Backups. Render's free Postgres has none. On a VPS, weekly host backups are not the same as nightly database dumps you control.
  • Email. Free Render instances block SMTP ports. Plan for a transactional email service either way.
  • Your time. One evening fixing a broken server costs more than a year of the price difference. Be honest about which kind of person you are.

Verdict

Rails got a lot cheaper to host once Kamal and the Solid gems arrived: one small server can now run the whole app. Pick a VPS with Kamal if you can live with a terminal; it is the best Ruby web hosting value we found. Pick Heroku or Render if you would rather pay a bit more and never patch a server. Leave shared hosting to PHP. For containers in general, see our Docker cloud hosting guide; for the Hostinger fine print, our Hostinger plans review; and for everything else, the web hosting hub.

Questions people ask

What is the best hosting for Ruby on Rails?

For most people, a small Ubuntu VPS with Kamal. Rails includes Kamal for deploying straight to a server, and the official guide asks for only 1 GB of RAM. If you do not want to manage a server, Heroku or Render handle it for you at roughly $7 a month for the app plus the database. Shared hosting is the weakest choice for Rails.

Can I host a Ruby app for free?

Yes, with limits. Render's free web service spins down after 15 minutes without traffic, takes about a minute to wake, and gets 750 free hours a month. Its free Postgres database expires 30 days after creation. Heroku no longer lists a free dyno; its cheapest, Eco, is $5 a month and sleeps after 30 minutes idle.

Can I run Ruby on shared hosting?

Sometimes. Some cPanel hosts offer a Ruby app setup tool, often with Passenger, but many shared plans only promise PHP and Node.js. Hosting.com's platform page, for example, names PHP, Node.js, MySQL and PostgreSQL and does not mention Ruby. Ask the host in writing which Ruby versions they support before you pay for a year.

How much RAM does a Rails app need?

The Rails getting started guide asks for a server with 1 GB of RAM or more for a Kamal deploy. That is the floor for a small app. Background jobs, a database on the same box and real traffic all want more, which is why a 4 GB VPS at around the same price as a 0.5 GB platform plan is such good value.

What is Kamal in Rails?

Kamal is the deploy tool that ships with Rails. Per the Rails guide, it runs your app in Docker containers and deploys with zero downtime. You set the server IP and registry in config/deploy.yml, run bin/kamal setup once, then bin/kamal deploy for each update. It can also get a free Let's Encrypt SSL certificate.

Is Heroku still good for Rails?

It is still the easiest. You push code and Heroku runs it. The catch is price per gigabyte: a Basic dyno with 0.5 GB of RAM is $7 a month and Standard-2X with 1 GB is $50, before the database. Fine for a small app or a team that values its time; expensive once you need more memory.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. Rails Guides: Getting Started (Deploying to Production with Kamal), checked 4 Dec 2026
  2. Hostinger: Ruby on Rails VPS hosting, checked 4 Dec 2026
  3. Heroku pricing, checked 4 Dec 2026
  4. Render pricing, checked 4 Dec 2026
  5. Render docs: Deploy for free, checked 4 Dec 2026
  6. Hosting.com: Ruby on Rails platform page, checked 4 Dec 2026