To host your app on a shared hosting account, you need to restructure your project:
- Copy the content of the project's
public directory to the server's
.env to the server's
root folder. The rest of the files are not necessary for production.
Now your project structure should look like this:
/root (shared hosting root directory)
|__ .htaccess (IMPORTANT!)
Next, you need to change some values to configure your project properly:
.env file and change the
CI_ENVIRONMENT property from
.env and replace the value of
app.baseURL with your domain name. Must include the trailing "/":
app.baseURL = 'http://yourdomain.com/'
More details are included in the documentation, and if you need more assistance deploying the app, please contact me via my above email. I'll be glad to help.
That's all and good luck!