Deploy Laravel on Shared Hosting with Subdomain

To deploy Laravel on shared hosting is not too complicated compared to self hosted environment. This example show how to configure Laravel on shared hosting, on a subdomain. I’m using HostGator here, but it should be just same for other hosting solution.

SSH

I used to figuring out how to get Laravel works on my hosting without SSH, but life will be easier with SSH ability so that we can use the composer command we use on local development.

It’s simple to SSH into HostGator server. Based on their guide page, we just need to SSH into the server using our CPanel login, using port 2222. For example:

Read more ... →

April 6, 2015 · Stephen Saw