• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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