---
title: IIS URL Rewrite – Remove Legacy v6 Redirect Rule
description: Fix browser redirects to the old Nodinite v6 HTTPS URL caused by a legacy IIS URL Rewrite rule left over from the v6 installation. Step-by-step guide to identify and remove the rule.
---

# <i class="fal fa-rotate" aria-hidden="true"></i> IIS URL Rewrite – Remove Legacy v6 Redirect Rule

After migrating from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 to v7, browsing to the new HTTP endpoints, for example the [Web Client][] at `http://localhost:<port>`, may unexpectedly redirect to the old v6 HTTPS address such as `https://localhost:4001/Nodinite/Test`. On Windows Server, each v7 [Core Service][Core Services] is its own [IIS][IIS Overview] web site with the port you set in the Portal ([Step 4: Servers → Core platform services][Core platform services]). This guide explains why this happens and how to remove the legacy rule.

## <i class="fal fa-circle-info" aria-hidden="true"></i> Background – What Is IIS URL Rewrite?

**IIS URL Rewrite** is a module for Internet Information Services that evaluates incoming request URLs against a set of rules and can rewrite or redirect requests to a different URL. Rules can be defined at three levels:

* **Server level** – applies to all sites on the server
* **Site level** – applies to a specific IIS site
* **Application level** – defined in the application's `web.config`

During a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 installation, a server-level URL Rewrite rule (commonly named **Nodinite forward**) was added to redirect plain HTTP root requests to the v6 HTTPS address. After migrating to v7 the rule is no longer needed, but it remains in IIS and silently intercepts requests intended for the new v7 services.

## <i class="fal fa-stethoscope" aria-hidden="true"></i> Symptom

After migrating to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7, opening the HTTP port of a v7 Core Service web site in a browser (e.g. `http://localhost:<port>`) immediately redirects to an HTTPS URL such as:

```text
https://localhost:4001/Nodinite/Test
```

The page fails to load because the old v6 virtual directory no longer exists. This is caused by a legacy URL Rewrite redirect rule on the IIS server.

## <i class="fal fa-magnifying-glass" aria-hidden="true"></i> Identify the Rule

1. Open **IIS Manager** (`inetmgr` from a Run prompt)
2. In the **Connections** pane, click the **server node** (top-level, not a site)
3. In the **Features View**, scroll to the **IIS** section and double-click **URL Rewrite**

![IIS Manager showing URL Rewrite tile in the server-level Features View][1]  
*Example of IIS Manager at server level with the URL Rewrite tile visible in the IIS section.*  

4. Locate the rule named **Nodinite forward** (or a similar Nodinite-related name)
5. Confirm it has an **Action Type** of **Redirect** pointing to `https://{HTTP_HOST}:...` or `https://localhost:4001/...`

## <i class="fal fa-trash" aria-hidden="true"></i> Remove the Rule

1. Select the **Nodinite forward** rule in the list
2. In the **Actions** pane on the right, click **Remove**
3. Confirm the deletion when prompted

![URL Rewrite rule list showing the Nodinite forward redirect rule selected, with the Remove action highlighted][2]  
*Select the legacy redirect rule and click Remove in the Actions pane. The rule will be deleted immediately.*  

4. Close **URL Rewrite** — no IIS restart is required; the change takes effect immediately
5. Retry browsing to `http://localhost:<port>` to confirm the redirect no longer occurs

## <i class="fal fa-circle-check" aria-hidden="true"></i> Verification

After removing the rule, navigating to the Web Client at `http://localhost:<port>` should load the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 Web Client directly without any redirect. If the browser still redirects, clear the browser cache (`Ctrl + Shift + Delete`) to remove any cached 301/302 responses.

## <i class="fal fa-shield-halved" aria-hidden="true"></i> Prevention

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Remove any legacy IIS URL Rewrite rules at the <strong>server level</strong> as part of the v6 → v7 migration, at the latest when you remove the old v6 IIS applications (<a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/">Step 9: Remove legacy v6 IIS applications</a>), and <strong>before</strong> configuring TLS on the new installation (<a href="https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/10-configure-tls/">Step 10: Configure TLS</a>). Leaving the rule in place will cause misleading redirects that are difficult to diagnose because the rule operates transparently at the server level, before any v7 application code runs.</p></div>
</aside>

See the [Updating from v6 to v7][v6tov7] migration guide for the complete list of prerequisites.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-server" aria-hidden="true"></i> [IIS Troubleshooting Overview][IIS Overview]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Updating from v6 to v7][v6tov7]  
* <i class="fal fa-lock" aria-hidden="true"></i> [How to perform hardening on your Nodinite installation][Hardening]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-user-secret" aria-hidden="true"></i> [IIS Authentication settings][]  
* <i class="fal fa-window-maximize" aria-hidden="true"></i> [IIS Windows Features][]  
* <i class="fal fa-globe" aria-hidden="true"></i> [HTTP Error 405.0 - Method Not Allowed][IIS 405]  
* <i class="fal fa-forward-step" aria-hidden="true"></i> [Step 10: Configure TLS][Step10]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/IMUpdate/Install/Troubleshooting/IISURLRewriteModule.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/IMUpdate/Install/Troubleshooting/IISURLRewrite_Remove.png

[Core platform services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS 405]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/http-error-405-0-method-not-allowed/
[IIS Authentication settings]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[Step09]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/
[Step10]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/10-configure-tls/
[v6tov7]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/