-1

I am upload project file to Sub Domain. But In web site,just project files is showing. Project is not execute. How can i resolve this problem ?

Subdomain is active.

enter image description here

Bayaz
  • 45
  • 9

2 Answers2

2

Your hosting and configuration should have the ff:

  1. Appropriate PHP version compatible to your Laravel project.
  2. Composer and Laravel installed.
  3. Proper web server configuration for Apache, Nginx, Litespeed, etc. This is most likely where your problem is, where you should only expose the /public folder as the only public directory of your page.
batuzai04123
  • 379
  • 5
  • 12
0

I installed composer and I add .env file the run some commands like

php artisan key:generate
php artisan clear-compiled
php artisan cache:clear
php artisan config:clear
php artisan optimize
php artisan route:cache

Then resolved problem.

SEYED BABAK ASHRAFI
  • 4,093
  • 4
  • 22
  • 32
Bayaz
  • 45
  • 9