• 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

New domain using same vhosts directory as first domain

LCMSdev

New Pleskian
The first domain I created on my installation — call it firstdomain.com — has a physical path of C:\inetpub\vhosts\firstdomain.com\httpdocs, as expected.

Next, I created a new domain, seconddomain.com. Plesk created the vhosts\seconddomain.com folder...but, the physical path for the seconddomain.com site is vhosts\firstdomain.com\httpdocs, the same as the core domain.

So, I have two question. First, how do I change the physical path of the second domain to vhosts\seconddomain.com\httpdocs? Second, when creating new domains in the future, how do I ensure that each domain uses its own vhosts directory?

Any advice is appreciated. Thanks!
 
Strange.
Plesk created the vhosts\seconddomain.com folder...but, the physical path for the seconddomain.com site is vhosts\firstdomain.com\httpdocs, the same as the core domain.
How you have determined it? Have you checked IIS settings at least?
 
I think I have the same problem.

First domain who created have path: D:\Inetpub\vhosts\firstdomain\httpdocs

Second created domain have path D:\Inetpub\vhosts\firstdomain\site1
 
I think I have the same problem.

First domain who created have path: D:\Inetpub\vhosts\firstdomain\httpdocs

Second created domain have path D:\Inetpub\vhosts\firstdomain\site1
Right. First domain is default domain of subscription. Additional domain in subscription will be created inside already existing webspace. Have you read Plesk documentation about webspace conception?
 
Back
Top