Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jamesharvey's avatar

What's the most affordable way to host demo laravel apps?

Hello guys,

I have several demo laravel apps to showcase. What's the cheapest way to host small laravel apps?

I'm coming from Angular developer background. Google provides free hosting for angular apps on Firebase. It gives you 10GB free so if you're not running a serious business with your app, you can host your demo angular apps for free.

Is there anything like Firebase for Laravel apps? what do you guys do when you want to host a few demo apps? my current plan is to not rent expensive servers for that.

Thanks in advance

0 likes
12 replies
jlrdw's avatar

If they're just demos you could probably use HostGator or GoDaddy, or similar. I have a site on godaddy. You have to properly set up folder structure.

jamesharvey's avatar

Thanks, what kind of hosting plan do you use for that? I know I can get a domain for a dollar on GoDaddy..

I'm still curious if there's a solution like Firebase for Laravel developers.

jlrdw's avatar

The problem is usually free PHP hosting is very limited and needed folders cannot be accessed. But Google free laravel hosting. One I have is 3.95 per month, a small site. Also check https://www.heroku.com

jamesharvey's avatar

Yes, but Heroku isn't entirely free.

If there's any better way, let me know.

Helmchen's avatar

with a decent connection you could also run a virtual machine and use something like dyndns to prevent the problem with dynamic IP addresses

should be enough for small demo applications

otherwise stick to the free/cheap hosting providers

jamesharvey's avatar

Good idea but that will work only when my computer is running all day long...

What I'm trying to do is hosting all of my laravel demo apps to showcase example works to my clients ... and this doesn't guarantee I will be getting any deal so I'm looking for a free solution to do that.

lostdreamer_nl's avatar

I went for a small package virtual server hosting. for a few bucks a month you'll have a 1 or 2 vCPU host with 100+ GB disk space.

Host as many sites as you want on subdomains.

jamesharvey's avatar

Yeah let us know how to host laravel app to a virtual server hosting.. Please give us a link. Isn't there any completely free option at all?

Thanks

jamesharvey's avatar

Maybe something like this? https://www.vps.net/

It sounds not bad. Yes, it comes with free SSL just like Firebase. It has 20GB SSD space but I wonder if I'll need that much for a demo app. Even 3GB will do the job.

shez1983's avatar

there is always digitalocean.. for 5£ you get 20GB and 1 GB Ram. enough for demo sites

lostdreamer_nl's avatar
Level 53

I went for strato.nl back then, a german company: 9E / month: 2 CPU vCores 200 GB SSD/HDD Traffic unlimited 4 GB RAM Ubuntu 16.04

Their are lots of tutorials for setting up nginx with catch all subdomains + php + mysql. I usually set it up so that {sub}.domain.com links to the folder /var/www/sub/public/ this way you can auto create subdomains by simply uploading / git pulling a project into the correct folder on your server.

Please or to participate in this conversation.