Reputation: 14811
I am deploying my Laravel 5.2 application to production server. I bought shared hosting plan (Personal use) form Arvixe with C Panel access and PHP version 7.0.5. But I am having problems with hosting my application.
I created a sub folder under public_html and put all contents to it
Then I browsed to subdomains:
Then I created a subdomain and mapped it to public folder of my project:
Then I redirected that subdomain to public/index.php like this:
Then when I access to http://mmfashion.mmfashionnetwork.com, it is giving me this error.
How can I share my application on Arvixe shared hosting? What is wrong with my configuration? When I run it on local machine, it is working.
Upvotes: 2
Views: 280
Reputation: 1015
I don't think you need the third step (redirection) since the second step 'document root' had already point to the document root, which is in your case public_html/mmfashion/public
;
So, if anybody visits the subdomain URL, the first place it will point them to is the public_html/mmfashion/public
;
Other steps you need to look out for
Upvotes: 0