0

I just finished my first laravel application. Before get the hosting, I already sent an email to support and they said that they don't see any reason not to work. I also have already bought hosting and domain I have few questions now.

Is there anything that I supposed to do in the code in order to make it work? If so, what?

also I have copied everything in /web/ that I have in my app.

extra folder
laravel folder(main juicy folder)
vendor folder
composer.json 
composer.lock

Is there anything else that I should do? the application does not seem to work when I try to access the main website.

Vivek
  • 11,938
  • 19
  • 92
  • 127
sdet.ro
  • 317
  • 3
  • 12

1 Answers1

0

Make sure you place the files so that Laravel public folder matches your hosting public folder (probably named public_html).

I recommend reading this Laracast discussion.

Mina Abadir
  • 2,951
  • 2
  • 15
  • 20
  • Note that some hosting providers won't let you do this because of security reasons. In this case, see the accepted answer over here: http://stackoverflow.com/questions/23837933/how-can-i-remove-public-index-php-in-the-url-generated-laravel – Justin La France Nov 29 '15 at 01:31
  • The whole solution touches Laravel files, you won't change the directory structure on host – Mina Abadir Nov 29 '15 at 01:33
  • Yes that's why I said "Note that". Just saying in case he isn't able to do it your way. But, I agree that changing the public directory is the best way. So see my comment as a workaround. – Justin La France Nov 29 '15 at 01:38