20,212 questions
- Open IIS Manager:
- Press
Windows + R
, typeinetmgr
, and pressEnter
. - Alternatively, search for "IIS Manager" in the Start menu.
- Press
- Locate the Virtual Directory:
- In the left-hand Connections pane, expand the node for your server.
- Expand the
Sites
node and select theDefault Web Site
(or the relevant site).
- Remove the Virtual Directory:
- Under the
Default Web Site
(or your selected site), find the virtual directory you need to change. - Right-click on the virtual directory and select
Remove
. - Confirm the removal by clicking
Yes
.
- Under the
- Create/Verify Physical Folder:
- Navigate to the physical directory path of your default website. This is typically located at
C:\inetpub\wwwroot
by default. - Ensure the subfolder you need exists. If it does not, create the subfolder.
- Navigate to the physical directory path of your default website. This is typically located at
- Restart IIS (optional but recommended):
- In IIS Manager, click on the server node.
- In the right-hand Actions pane, click on
Restart
.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin