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

Access media on second drive from two domains

dreams3577

New Pleskian
Hi All

I have a centos 6.3 server with plesk 11

The server has two 2TB drives
/dev/sda3 mounted on /
/dev/sdb1 mounted on /mnt/disk1

I am only running two domains on the server, both of which sit on /dev/sda3 mounted on /
domain1 with user1

domain2 with user2

Both domain1 and domain2 use the same media (mp3 and mp4) files on the sites.

Currently I have to upload the media twice, once to domain1 and again to domain2


And so:
Can I move all the media to a folder on the second drive (/dev/sdb1 mounted on /mnt/disk1) and link a folder (symlink) in each domain to it?

How should I permission the folder so that both domain1 user1 and domain2 user2 and write to the folder on the second drive?

I hope this makes sense.
Many Thanks
Steve
 
Back
Top