> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/how-to-articles/move-the-devolutions-server-application-to-the-default-web-site-root.md).

# Move the Devolutions Server application to the default web site root

The following guide explains how to move the Devolutions Server web application on the root and set it as a Web site. It is recommended to first have a working Devolutions Server instance according to this [Devolutions Server instance creation guide](https://docs.devolutions.net/server/getting-started/installation/create-server-instance/).

{% hint style="danger" %}
Backing up the current working installation before modifying any parameters in IIS Manager is highly recommended.
{% endhint %}

1. From the Devolutions Server Console, uninstall the ***Scheduler*** in the ***Companions*** tab.

   ![](https://cdnweb.devolutions.net/docs/DVLSCONSOLE4024_2025_1.png)
2. Close the ***Devolutions Server Console***.
3. Open ***IIS Manager***.
4. Expand the root node and select ***Application Pools***.
5. Stop the ***DefaultAppPool*** and the Devolutions Password application pool (***dvls*** on the following screen capture) using the ***Stop button*** in the Actions pane.

   ![](https://cdnweb.devolutions.net/docs/INTERFACE6000.png)
6. Under ***Sites***, select ***Default Web Site*** and stop it using the ***Stop button*** in the Actions pane.

   ![](https://cdnweb.devolutions.net/docs/INTERFACE6002.png)
7. Remove the Devolutions Server web application under ***Default Web Site***.

   ![](https://cdnweb.devolutions.net/docs/INTERFACE6001.png)
8. Open the ***File Explorer***.

{% hint style="warning" %}
It is not recommended to set the installation folder to `C:\Program Files, C:\Program Files (x86)`, or `C:\inetpub`. Devolutions Server is a web application and this could result in unwanted behavior and issues because IIS does not have enough permissions to run web applications that are located under those folders. To set the web application folder in a location different than the default `C:\Inetpub\wwwroot` folder, the IIS\_IUSRS built in local machine group will need Read and Read & Execute permissions on the entire Devolutions Server web application folder structure.
{% endhint %}

9. Navigate to the installation folder of the Devolutions Server web application (i.e., `C:\inetpub\wwwroot\dvls` for this installation). The web application folder may differ depending on the installation.
10. Select all files and folders and move them under the root folder of the default web site (`C:\inetpub\wwwroot` here).

    ![](https://cdnweb.devolutions.net/docs/DVLS4123_2024_3.png)
11. Navigate to the default web site folder (`C:\inetpub\wwwroot`).
12. Delete the ***iisstart.png*** and ***iisstart.htm*** files.

    ![](https://cdnweb.devolutions.net/docs/DVLS4130_2024_3.png)
13. Delete Devolutions Server web application’s folder (***dvls*** in this installation).

    ![](https://cdnweb.devolutions.net/docs/DVLS4127_2024_3.png)
14. Go back in ***IIS Manager*** and refresh the ***Default Web Site*** node. Devolutions Server’s web application folder should disappear.

    ![](https://cdnweb.devolutions.net/docs/INTERFACE6003.png)
15. From the ***Actions*** pane, open the ***Advanced Settings…*** dialog.
16. Select the Devolutions Server Application pool.
17. Remove the `%SystemDrive%` environment variable from the path and set it with `C:` instead as the Devolutions Server Console cannot access the environment variables.

    ![](https://cdnweb.devolutions.net/docs/DVLS4129_2024_3.png)
18. IT is possible to rename the ***Default Web Site b***&#x65;fore starting it, but it is not mandatory.

    ![](https://cdnweb.devolutions.net/docs/INTERFACE6004.png)
19. Start the ***Default Web Site*** and the Devolutions Server application pool.
20. Browse to the website and it should load the Devolutions Server login page.

    ![](https://cdnweb.devolutions.net/docs/DVLS4122_2024_3.png)
21. Update the [Access URI](https://docs.devolutions.net/server/kb/knowledge-base/access-uri/) with the new Devolutions Server URL to reach its web page.
22. If required, update the URIs with the new Devolutions Server URL in the Azure App Registration for the Microsoft Authentication.
23. Finally, install the ***Scheduler***.

    ![](https://cdnweb.devolutions.net/docs/DVLSCONSOLE4025_2025_1.png)

{% hint style="success" %}
If you are experiencing unexpected errors after completing these steps, it is recommended to restart both the Devolutions Server instance and the IIS service.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/server/knowledge-base/how-to-articles/move-the-devolutions-server-application-to-the-default-web-site-root.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
