• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk serving all sites from default directory

DotanC

New Pleskian
I just installed a CentOS 6.4 server with Plesk 11. All sites are being served from /var/www/vhosts/default/htdocs/ even though I have configured them in Plesk to be served from different directories.

Consider siteA.com and siteB.com:

Domain name: siteA.com
Hosting type: Website
Document root: /siteA

Domain name: siteB.com
Hosting type: Website
Document root: /siteB

Now I go to the browser and call these addresses:
http://siteA.com/a.html
http://siteB.com/b.html

This is what I see in the Apache error_log:
script '/var/www/vhosts/default/htdocs/a.html' not found or unable to stat
script '/var/www/vhosts/default/htdocs/b.html' not found or unable to stat

However, if I create a file /var/www/vhosts/default/htdocs/c.html then it is served by both domain names! Do note additionally that there exist the directories /var/www/vhosts/siteA/ and /var/www/vhosts/siteB.

How can I fix Plesk such that it will server from /var/www/vhosts/siteA/httpdocs and /var/www/vhosts/siteB/httpdocs for the respective sites?
 
Hello,

Try to rebuild httpd configuration : /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
It looks as if some issues cropped up:
Code:
$ /usr/local/psa/admin/sbin/httpdmng --reconfigure-all 
Error occured while sending feedback. HTTP code returned: 502
2013-10-29T14:57:50+07:00 ERR (3): Apache config (13830334670.68267100) generation failed: Syntax error on line 87 of /var/www/vhosts/someSite.com/conf/13830334670.68267100_httpd.include:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

2013-10-29T14:57:50+07:00 ERR (3): Administrator notification failed: mail() failed: Validation failed for: Some User <""@"">
Error occured while sending feedback. HTTP code returned: 502
Syntax error on line 87 of /var/www/vhosts/someSite.com/conf/13830334670.68267100_httpd.include:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-domains
    [1] => someSite.com,anotherSite.com
)

Details: Empty error message from utility.

Note that I did not anomitize the email address, it really did show up as <""@""> even though I entered a valid email address when I configured Plesk.
 
Back
Top