I am recently setting a Wordpress blog using http://www.mydomain.org/wordpress way without any problem. Later on I would like to use virtual host to point to the wordpress folder under /volume1/web.
My method is like this:
1. I renamed /web/wordpress to /web/wordpress.bak first
2. In DSM 3.1 Web service I created a new virtual host named wordpress of www.mydomain.org with port 8081
3. In router I turned on the port forwarding to redirect http://www.mydomain.org:8081/ to point to my DS's LAN IP address 192.168.1.2
4. I created a test index.php in the new created folder /web/wordpress and make sure my port forward feature functions properly to show a test welcome screen when I access the link http://www.mydomain.org:8081
5. Now I copy all those files and sub-folders from the previous folder, /web/wordpress.bak overwriting /web/wordpress including the index.php file
However, when I try to access http://www.mydomain.org:8081 right now it does not redirect me to http://www.mydomain.org/wordpress but http://www.mydomain.org:5000. I am puzzled how come it takes me to DSM login screen.
Moreover, I can still be able to access old method http://www.mydomain.org/wordpress to access but virtual host seems not working.
Any advice on where am I wrong in my procedures?




