Move the Devolutions Server web 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 guide for Creating Devolutions Server Instance.

Backing up the current working installation before modifying any parameters in IIS Manager is highly recommended.

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

    Uninstall the Scheduler
    Uninstall the Scheduler
  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.

    Stop the DefaultAppPool and the Devolutions Password application pool
    Stop the DefaultAppPool and the Devolutions Password application pool
  6. Under Sites, select Default Web Site and stop it using the Stop button in the Actions pane.

    Select Default Web Site and stop it using the Stop button
    Select Default Web Site and stop it using the Stop button
  7. Remove the Devolutions Server web application under Default Web Site.

    Remove the  web application under Default Web Site
    Remove the web application under Default Web Site
  8. Open the File Explorer.

    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.

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

    Select all files and folders and move them to root folder.
    Select all files and folders and move them to root folder.
  11. Navigate to the default web site folder (C:\inetpub\wwwroot).

  12. Delete the iisstart.png and iisstart.htm files.

    Delete the iisstart.png and iisstart.htm files
    Delete the iisstart.png and iisstart.htm files
  13. Delete Devolutions Server web application’s folder (dvls in this installation).

    Delete Devolutions Server web application folder
    Delete Devolutions Server web application folder
  14. Go back in IIS Manager and refresh the Default Web Site node. Devolutions Server’s web application folder should disappear.

    Refresh the Default Web Site node
    Refresh the Default Web Site node
  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.

    Remove the %SystemDrive% environment variable
    Remove the %SystemDrive% environment variable
  18. Before starting the Default Web Site, it is possible to rename it. But it is not mandatory.

    Before starting the Default Web Site, it is possible to rename it
    Before starting the Default Web Site, it is possible to rename it
  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.

    Devolutions Server login page
    Devolutions Server login page
  21. Update the 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.

    Install the Scheduler
    Install the Scheduler

If you are experiencing unexpected errors after completing these steps, it is recommended to restart both the Devolutions Server instance and the IIS service.

Devolutions Forum logo Give us Feedback