• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

API RPC Adding Subdomain home folder issue

R

RhysL

Guest
SYSTEM
Plesk Panel 9.5.4, Windows Server 2003 (5.2; SP2.0)
VB.NET 2.0

PROBLEM
When I add a subdomain, I need the subdomain to use the root directory of the parent domain. According to the documentation, I should just set <home />. However this does not work, as Plesk creates a directory of the subdomain name.

I have tried <home></home> which does (expectedly) the same thing. I also tried <home>/</home> which almost works, it seems to try and set the root domain, when I access the subdomain setting through the Control Panel the directory is set as nothing... so the root directory right? But when I try to access the subdomain through the browser, the browser can't find any files to load.

However, if I go in and change the directory to "/", it (as expected) works (loads the root domain). Then if I go back and delete the "/" it still works... but why does it not work initially?
 
Back
Top