Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Mike Zhu
Mike Zhu
1,840 Points

Laravel Deployment to a remote server which runs LAMP

I am now finished a Laravel project and I am preparing to deploy it to the server. I use git to clone my Laravel project from my local server to the remote server. My Laravel version is 5. The server is running Centos7, Apache and PHP 5.4.16. However, the page only shows the website file structure instead of the home page, which shows like this: http://mikemikezhu.me/laravel/laravel_trial/ I am trying to know the correct way to publish my Laravel project. By the way, I don't want to use Forge because it is not free of charge.

1 Answer

The root file tree doesn't appear to show an index.php. Have you pointed your server at the file you want to be your homepage? You can also point it at a directory that houses your public files. I see you have a /public folder.