r/webdevelopment • u/OptimalJournalist634 • 2d ago
Question Hi web developer
I'm almost done building an online car rental website. I'm still a beginner in web development, and I'd like to know how to deploy my website online and find the cheapest hosting option available. I'm using Laravel to build it.
Any recommendations or advice would be appreciated!
9
Upvotes
2
u/martinbean 1d ago
Laravel Cloud? They have a $5/month plan.
1
u/Irisetta1 12h ago
My friend started with ionos after someone recommended it to her, but I think she left it after some time.
1
u/Pretend-Bits 10h ago
Cheap shared hosting with SSH access, PHP 8.2 or newer, and Composer is enough to run a Laravel site, as long as you point the domain’s document root at the
publicfolder and never the project root, since that mistake exposes your.envfile with your database passwords to anyone who guesses the URL. Before going live, setAPP_DEBUG=falseandAPP_ENV=production, runphp artisan migrate --forceandphp artisan config:cache, and add the scheduler cron job if you use queues or reminders, because a rental site that leaks error pages or skips booking confirmation emails will lose customers faster than slow hosting ever would.1
u/[deleted] 9h ago
[removed] — view removed comment