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

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