How to setting different physical paths for website and FTP site.

tescikowski 0 Reputation points
2024-02-09T10:54:13.2233333+00:00

Hello Issue Description:
On Windows Server 2016, I'm trying in IIS Manager to set as the physical path for FTP site the root directory of the site (for instance, E:\websites[site_name]), and as the physical path for website the www subdirectory (for instance, E:\websites[site_name]\www). In IIS Manager, there are separate Advanced Settings for website and FTP site. When I try to set the physical path for FTP site in the right panel under Menage FTP site > Advanced Settings, the physical path for website is also changed. When I try to change the physical path for website it produces an analogous result. When I try to set the physical path for website in the right panel under Menage website > Advanced settings then the physical path for FTP site is also changed. Question: How can I set different paths for website and FTP site in such a way that Ftp site points to root directory and website points to subdirectory ([root]\www). If only one physical path can be set for website and FTP site, it is confusing to set it in two different places.

Thank you in advance for your help Tescikowski

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,312 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,695 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 30,821 Reputation points
    2024-02-09T14:34:44.8066667+00:00

    It shouldn't do that.

    The features view should look like this. The sites should have different ID's.

    User's image

    User's image

    User's image

    If the console is not working, then open a command prompt with "run as administrator" and manually set the path with notepad.

    notepad C:\Windows\System32\inetsrv\config\applicationHost.config
    

    User's image


  2. tescikowski 0 Reputation points
    2024-02-16T11:36:40.52+00:00

    Site was migrated from an older server. This configuration was due to the desire to preserve the previous solution. I'll probably follow your advice. Thanks for your help.

    0 comments No comments