This will be short tutorial of how to move your Laravel application from localhost to your online host.
In this tutorial we will skip unnecessary talking and go straight to the point.
Let's begin:
- Zip your files in local.
- Move all the files and folders to your host root folder (zip file, and extract it there).
- Set your website url to
APP_URLin.envfile. - Move files from public folder to your
public_htmlfolder in your server. - Edit
.envfile in root folder and changeAPP_ENV=localfromlocaltoproduction - Create database in your host.
- Set your database info in
.envfile. - Set your Mail info in
.envfile. - Zip (Extract) your local database.

- Upload Your zipped database in your host database (Import).

That's all.
- Last updated 6 years ago
Be the first to leave a comment.
You must login to leave a comment