I created a new site in Plesk, done this before with no problems.. The new domain name I added is pointing alright to the server.. however, when I add files in the /home/vhosts/domain.com/httpdocs section, it does not load that directory up,b ut loads the default: /home/vhosts/default/htdocs instead.
I googled this, and i got this:
The domains are resolving to the server but they all resolve to the default Apache test page (not the PSA default page).
If the server is running the RPM build of PSA this means that the /etc/httpd/conf/httpd.include file has been somehow corrupted. This can be easily fixed by running the /usr/local/psa/admin/sbin/my_apci_rst utility. This utility will rebuild the httpd.include file and restart Apache.
If running the Standard build most likely the default version of Apache is still running. To get PSA's implementation of Apache running you need to first stop the default version of Apache by running:
# service httpd stop
Then start PSA's Apache:
# /usr/local/psa/rc.d/httpd start
Once PSA’s Apache has been started you need to disable the default version of Apache. This can be done running the following command:
# rm /etc/rc.d/rc3.d/S85httpd
I tried following this, but the my_apci_rst utility did not exist on my server and running /usr/local/psa/rc.d/httpd start gives an error.
btw, when I go to site preview, in plesk, I get this:
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.