I'm building my own custom content management system for a my websites. I want the content management-site to be available through another port so I can do this: www.mysite.com:8844. The server I use has Plesk 10 installed on it.
To get this to work I have done the following steps:
in the file /etc/httpd/conf/httpd.conf add the text Listen 8844
Edit the file /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php to include a virtual host with 8844 as port number.
Rebuild configuration files by running the following command in the terminal (putty):
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
I would expect that if I do this that I would get to see the same site as on port 80 as on port 8844.
But a strange thing happens. If I go to www.mysite1.com:8844 I will get to see the same site as on www.mysite1.com. But if I go to www.mysite2:8844 it will show me the content of www.mysite1.com.
Does anyone know where I went wrong, or did I just forget something?