# What is the best way to host my Laravel application on live server? And what is the best way to secure it?

Every time I try to host my application on live server, I run into problems. Whether it is about the .env file, the read &amp; write permissions for the storage folder, or regarding changing the path of the public folder.
And the way of hosting my application. Whether by importing it from Github, or by uploading the whole folder with FTP.

What is the best way to host my application? And what are the best ways to secure it?

##### Post Metadata
- Posted at: over 5 years ago
- Author title: Developer
- Net upvotes: 1


## Comments
### Comment 1

use AWS and host it on EC2, it also comes with the ease of setting up CI/CD, secure it with AWS WAF

##### Comment Metadata
- Posted at: almost 4 years ago
- Author title: Senior Software Engineer | AWS Certified



### Comment 2

You can use Amazon Lightsail. It&#39;s the easiest and cheapest cloud web hosting solution by AWS. It has great performance and it is very secure.

##### Comment Metadata
- Posted at: about 4 years ago
- Author title: Consultant II at Neudesic




## Related Product
[Laravel](https://www.g2.com/products/laravel/reviews)

## Related Category
[PHP Web Frameworks](https://www.g2.com/categories/php-web-frameworks)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: over 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: over 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


