Deploying Laravel 5 on a Godaddy Windows Shared hosting server
Hi, I wanted to deploy a Laravel 5 application on a Godaddy Windows Shared Hosting Server but wasn't able to find documentation on how to do so. I was hoping some people on this forum might have some experience in doing so and would would be willing to share that experience. Since this is the first time deploying Laravel 5 on a Windows hosting server, I am rather inexperienced on the matter. I hope this question isn't too simplistic or obvious. When I searched online for answers I wasn't able to find much help. When I attempted to do it on my own I put the entire laravel folder into the httpdocs folder. After that I tried to check if it worked by going to yourdomain.com/laravel. I'm not sure if that's the right way to see if it was correctly set up so please let me know if I'm checking it wrong. After I did that I was navigated to a blank page. If someone could point me in the right direction I would greatly appreciate it.
Does your daddy have, PHP installed? Apache? MySQL? Can you SSH into your server instance? If this is a weird question, I humbly advise you to first install this on your own local machine, be it a Windows box, MAC or Linux machine.
You're really making it difficult for yourself hosting on a Windows server, let alone GoDaddy.
Have you looked at https://www.digitalocean.com/pricing/ for example - $5 month?
@jimmck I do have php installed, and apache, and mysql. I cannot ssh into the server instance. I have installed it on my local machine successfully but I was still unable to do so with the windows hosting server. Is it common for people to use windows as a hosting server for laravel?
@martinbean It's not by choice that I'm using a windows server over a linux one. I understand and completely acknowledge that doing this on a linux server would be significantly easier than windows. Unfortunately there is nothing that can be done at this point.
@sitesense I have digitalocean and have other laravel 5 applications already installed on their servers. Unfortunately I need to use a windows server in this instance.
@rl123456789, @sitesense is right. Shared hosting servers are always a problem when it comes to powerful frameworks like Laravel. You lose the great magic of composer which means you have to transfer the vendor folder containing all the dependencies of your application via FTP, which can take a long time. There are a lot of other downsides, but this is one of my least favourites.
@callam Thanks for the advice. You mentioned having to ftp the vendor folder containing all the dependencies of the application. Are you referring to the Laravel folder that is created when you first create a new Laravel installation? Or are there more files that I am missing? Do you know any good guides on how to do this? I was looking for some but wasn't very successful.
@rl123456789 when you install Laravel, part of the installation is installing the dependencies, this is done by running a composer install. The dependencies will be in the vendor folder in the root of the project, this is what needs to be included when copying the site over. If you come from a git background, you might be interested in git-ftp which is a package available for use in command line to deploy your repo via ftp.