If you do those things, public should not be present in the url, but when I go to http://www.nypcm.com it redirects me to UI/public/index.php
have you earlier tried messing with .htaccess ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have follow these instructions to deploy my fresh Laravel 5.1 App on Hostmonster VPS server But getting Server error 500
-I have created a directory at the root level called laravelCore/ and upload all the content of the my laravel app execpt the puplic/ directory
-After that i uploaded the content of the public folder in the public_html/ directory of the server
-Then modified these two lines of the index.php file under the directory as follow
require DIR.'/../laravelCore/bootstrap/autoload.php';
$app = require_once DIR.'/../larvelCore/bootstrap/app.php';
-Then i change the permission of the strore/ directory to 777
But getting server error 500
here is the link to the demo
http://www.nypcm.com/UI/public/index.php
Please or to participate in this conversation.