• 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

Share access between domains

cmaxwell

Regular Pleskian
Can anyone advise if it is possible to share read/write access to a directory between 2 domains on a Plesk for Windows server?

For example, we have a directory on domain1.com and we would like domain2.com to be able to read and write to that directory.

I know this can be done on Unix by setting the directory permissions to 777. I have tried all of the options in the Plesk control panel (web directories, virtual folders, etc) and could not find anything which would let the directory be accessed from other domains on the server.

Any help would be greatly appreciated.

Thanks.
 
The instructions below use assume "dom1" is your shared folder account and "dom2" is the account you want to grant access from.

You'll need to login to the Terminal Services. Right-click on the folder in question under dom1, select security, 'advanced', 'add', 'advanced' (a different one), 'find now', find the "IUSR_dom2" account and click OK a couple times. You should see a permissions for 'folder' dialog. Change 'apply onto' to "files only" then check the box for 'allow' under 'list folder/read data", "read attributes", "read extended attr", and "read perms". Check the box for "apply these perms to obj within this container only". Click OK until you get back to the folder view.

Now open IIS, your server, web sites, and right-click on dom2, selecting 'new > virtual directory'. Click next, then enter the 'alias' (if you want the path to the files to be "www.example.com/shared/" use "shared"), next, browse to the shared folder, next, check 'read', next, finish.

That oughtta work.
 
Back
Top