Easiest (and best imho) is to use forge.laravel.com note you will need an account with a VPS provider like Linode or Digital ocean.
Please note that shared hosting providers may have issues running a laravel site as you will need to change the document root for the account and many are either not able (competent) or willing to do this.
railto said:
Easiest (and best imho) is to use forge.laravel.com note you will need an account with a VPS provider like Linode or Digital ocean.
Please note that shared hosting providers may have issues running a laravel site as you will need to change the document root for the account and many are either not able (competent) or willing to do this.
I don't really have money for a VPS, I do have a shared webhosting server, but that's without SSH access and only access to public_html Would that work?
You will need at the very least SSH access. Including the cost of Forge, you can get your site up and running on a digitalOcean VPS for $15 per month, not much money really when you consider the value of Forge alone.
railto said:
You will need at the very least SSH access. Including the cost of Forge, you can get your site up and running on a digitalOcean VPS for $15 per month, not much money really when you consider the value of Forge alone.
Okay, so turns out I DO have ssh access.
I just uploaded my entire project to a subfolder on my domain..
Now what do I need to do next?
I personally haven't deployed to shared (although its easy enough). Have a look at this article by Dries Vints for more info on deploying laravel to shared hosting - http://driesvints.com/blog/laravel-4-on-a-shared-host
Hope you got it sorted already, if not, here are my two cents:
I have hosted a laravel project on free shared webserver. It works just fine, though I miss the composer and generators support there, you can always hand edit the files. Oh and I didn't had ssh access. Only FTP@public_html.
Here is what I did:
This is a very inefficient way to host a project and there might be some potential security risks involved which I am currently unaware of. Anyway, that was just a 'test' project for me to see if Laravel really works on shared hosting. If you want a serious application with world wide exposure, use VPS. OVH offers pretty cheap ones, haven't used them though.
You can easily host your next Laravel application with Cloudways in merely 7 minutes. You can choose your cloud server from DigitalOcean, Amazon AWS, Vultr or Google Compute Engine. Cloudways console helps you host, manage and optimize your Laravel application easily. You can start here: http://www.cloudways.com/en/laravel-hosting.php
Any cpanel etc host is pretty straight forward - if using default public html just update your public/index.php to point to wherever you upload the main app files
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community