• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Redirect main folder to virtual directory

S

simonegli

Guest
Hi,

Is there a way to redirect the main folder of a domain to a virtual directory/subfolder?

My Problem is, that in my PLESK controlpanel from my provider I can only create virtual directories in the main httpdocs folder, and if I have a main ASP.NET application installed there, all the other ASP.NET applications in the subfolders read the parent's web.config, even though they are in a virtual directory, so I can't have independent ASP.NET applications.
One solution would be to install ALL applications in a virtual subdirectory, also the main application, but then I need to change the http adress of the main application eg. from www.johnshope.com to www.johnshope.com/main. I could of course store a html page in the main folder that redirects to the subfolder but that's not what I want.
Unfortunately I cannot create virtual directories outside of httpdocs with my current provider's PLESK setup.
Another solution that works is to use subdomains for the other applications, since I can configure the subdomains folders to lie outside httpdocs, but thats also not so elegant.

Is there a better solution?

Greetings,

Simon Egli
 
Back
Top