• 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.

Subdomain behavior

Markus_Eyrich

Basic Pleskian
Hi there,

Is it just me doing something wrong or is the subdomain behavior in Plesk 10 completely messed up ?

If i create a Domain, the Folder for it is created under /var/www/vhosts/domain.tld, below this folder there's a structure including httpdocs and so on, so far, so good. Now if i create a subdomain, let's say "test" this Subdomain is now created on !2! places, one folder under /var/www/vhosts/domain.tld/test (without any folder structure) and another one in /var/www/vhosts/test.domain.tld with "some" structure.

Not even that this is strange enough, also the configuration for this subdomain is in /var/www/vhosts/test.domain.tld (php settings etc if using fcgi) but everything else (files for the website) is under /var/www/vhosts/domain.tld/test/ ...

This is more than nonsense....

Is that really the case, or am i doing something completely wrong here, regarding Plesk 10 ?

Kind regards,

Markus
 
Igor, there is nothing new, in this document...I'm using Plesk since version 7, i could live with the new subdomain place, that is ok, but why is there another /var/www/vhosts/test.domain.tld created, in which are the php.ini settings when using fcgi mode ? Wouldn't it make more sense to have the subdomain specific configuration below the normal vhost dir for the general domain?

BTW: why was "upload_tmp_dir" removed from the php settings?
 
Since Plesk 10 version concept of subdomains was revised. System files of subdomains are located in /vhosts/<subdomain-name>.example.com/ now, just like for a regular domain. All domain-management features are available for subdomains. All limitations on putting subdomains in the subdomains/ directory were eliminated.

In which Plesk version "upload_tmp_dir" was in php settings?
 
I thought it was, but maybe i'm getting this wrong since i had this directive in my php.ini files...well, but it should be in there i guess.
 
Back
Top