• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question How to redirect a single host directory to another folder

PaulMC

New Pleskian
I'm trying to set up an application that is running in Nginx only hosting mode.

I need to redirect the directory from /var/www/vhosts/domain to /var/www/newdirectory/

How can I do this?
 
So the application is installed in /var/www/app1/

The web facing directory is located in /var/www/app1/public/

I need to setup a subdomain that points to that public folder.

I have tried to change the home folder in the hosting settings but it doesn't allow you to set it to system folders.
 
Back
Top