Fixing Web Station on Synology NAS

Standard

I have had some troubles in the past with the web station on my Synology unit. It probably happened because I tried to set up another package in the past and accidentally deleted a folder or a symlink.

I could not access the websites created in:
/volume1/web/
On the other hand, when I put the websites into
/var/services/web/
They seemed to work except that I ran into a few strange errors. The default web station page did not load. PhpMyAdmin did not have any images thus the web page got rendered useless. The problem seems to be that I removed the symlink from /volume1/web that should point to /var/services/web/ The fix is easy when you finally realize what happened.

1.Remove web station, Apache, phpMyAdmin.
2.Remove the web folder from /var/services/web (don’t forget to backup your sites from here) rm -R /var/services/web
3.Remove the web folder from /volume1/web/ (don’t forget to backup your sites from here) rm -R /volume1/web
4.Install Web station. This should recreate the web folder /volume1/web with the right permissions and add it to the shared folders
5.Link the /volume1/web to /var/services/web ln -s /volume1/web /var/services/web

At this point, you can move back your sites to /volume1/web and reinstall apache with phpMyAdmin.