IIS URL Rewrite – Remove Legacy v6 Redirect Rule
After migrating from Nodinite v6 to v7, browsing to the new HTTP endpoints (e.g. http://localhost:4000) may unexpectedly redirect to the old v6 HTTPS address such as https://localhost:4001/Nodinite/Test. This guide explains why this happens and how to remove the legacy rule.
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 Nodinite 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.
Symptom
After migrating to Nodinite v7, opening any of the 4000-series ports in a browser (e.g. http://localhost:4000, http://localhost:4001) immediately redirects to an HTTPS URL such as:
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.
Identify the Rule
- Open IIS Manager (
inetmgrfrom a Run prompt) - In the Connections pane, click the server node (top-level, not a site)
- In the Features View, scroll to the IIS section and double-click URL Rewrite

Example of IIS Manager at server level with the URL Rewrite tile visible in the IIS section.
- Locate the rule named Nodinite forward (or a similar Nodinite-related name)
- Confirm it has an Action Type of Redirect pointing to
https://{HTTP_HOST}:...orhttps://localhost:4001/...
Remove the Rule
- Select the Nodinite forward rule in the list
- In the Actions pane on the right, click Remove
- Confirm the deletion when prompted

Select the legacy redirect rule and click Remove in the Actions pane. The rule will be deleted immediately.
- Close URL Rewrite — no IIS restart is required; the change takes effect immediately
- Retry browsing to
http://localhost:4000to confirm the redirect no longer occurs
Verification
After removing the rule, navigating to http://localhost:4000 should load the Nodinite v7 Web Client login page directly without any redirect. If the browser still redirects, clear the browser cache (Ctrl + Shift + Delete) to remove any cached 301/302 responses.
Prevention
Important
Remove any legacy IIS URL Rewrite rules at the server level as part of the v6 → v7 migration before configuring TLS on the new installation. 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.
See the Updating from v6 to v7 migration guide for the complete list of prerequisites.