Skip to main content

Localhost Blocked on the Server

If in case Localhost is disabled on the same server machine, below changes need to be updated in .config files:

1. Navigate to C:\inetpub\wwwroot\suremdm\ and make changes in below 2 .config files:
   a. Open web.config file
    Search for the tag BrowserApiUrl and change value/URL as below.
    BrowserApiUrl should be https://Domain Name/suremdm/api/

    b. Open webApp.config file
    Search for tags BaseLocalUrl & BaseURL and change value /URL as below.
    BaseUrl should be https://Domain Name/suremdm
    BaseLocalUrl should be https://Domain Name/suremdm

2.  Navigate to C:\inetpub\wwwroot\suremdm\api and change URL in config files.

     a. Open web.config file
    Search for tags ‘BaseLocalUrl’ \& ‘BaseURL’ and change value/URL as below.
    BaseUrl should be https://Domain Name/suremdm
    BaseLocalUrl should be https://Domain Name/suremdm

3.  Navigate to C:\inetpub\wwwroot\suremdm\console and change URL in config file.

   a. Open web.config file
    Search for tag ‘BaseURL’ and change value/URL as below.
    BaseUrl should be https://Domain Name/suremdm