Link this site into your webserver

Your site is still not visible.

This is because the SIteGround webserver has its document root looking at the public_html folder.

At this point, many deployment tutorials go horribly wrong by advising you to change the server.php file or to move the contents of the public folder into public html

NO we are NOT going to do that.

We are going to follow a simple two step process

Don't do this if your public_html folder contains content you need to keep

  1. delete the public_html folder rm -rf public_html

  2. Recreate it as a symlink pointing to the Live/public folder with the command; ln -s -n -f ~/www/smallchart.com/Live/public public_html

Now, the contents of public_html are the same as laravel's public folder and your new site should be Live.

Last updated