Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

superclem's avatar

404 on /storage. FollowSymLinks option cannot be enabled on VPS.

  • Hosting provider: crazydomain.
  • PHP version is 7.1.*
  • Laravel version: 5.8
  • Type: Shared
  • SSH enabled

Already did the following:

created a symbolic link via artisan command:

php artisan storage:link

manually creating a symbolic link:

ln -s /home/user/domain.com/storage/app/public /home/user/public_html/storage

writable permission for storage directory:

chmod o+w -R /storage

domain.com/robots.txt is accessible but the domain.com/storage/image.jpg isn't.

Already contacted the support, says they cannot allowed/enabled the FollowSymLinks option for my domain.

Any help would be much appreciated.

0 likes
1 reply
mushood's avatar

Maybe you can create a storage driver with a path that points directly to your public_html, so that you can save your files there.

If your hosting provider cannot enable symlinks, not much can be done about that. I use bluehost on my side and symlinks are enabled there.

Please or to participate in this conversation.