• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Changing the Document root and subdomains

A

AleksanderM

Guest
Hello,

1. I'm using a trial version of the plesk panel 10.04. For the "default" domain (the one from the dedicated hosting provider) i'm trying to change the default Document Root without success. The folder layout looks like this:

So the default configured by plesk is: /var/www/vhosts/my.domain.com/httpdocs (appears in panel as /httpdocs)
And i've changed it to: /httpdocs/public (the /var/www/vhosts/my.domain.com/httpdocs/public exists and has proper ownership/access rights/content). After this change the browser gives "Server not found" error for http://my.domain.com/

2. When i add a subdomain for example www.my.domain.com Plesk creates two folders

/var/www/vhosts/my.domain.com/site1
/var/www/vhosts/www.my.domain.com

With the same content. It is confusing. Which one should I use.

Best Regards,
Alek
 
Back
Top