Instructions for setting up CAREWare 6 using IIS as a reverse proxy
|
Purpose |
Configure IIS to forward HTTPS requests to the CAREWare 6 HTTP Server. |
|
Who should do this |
CAREWare system administrators and IT staff responsible for IIS, DNS, certificates, and firewall rules. |
|
Use this setup when |
Your organization manages public-facing TLS certificates and HTTPS bindings in IIS. |
|
Main warning |
Disable IIS user-mode and kernel-mode output caching for the CAREWare site. Never expose backend HTTP port 8080 to remote clients. |
|
Reference |
ImportantJPROG recommends using the CAREWare HTTP Server to handle the TLS Certificate for a publicly facing CAREWare site. The native CAREWare/GOLANG HTTP server functions safely without IIS. The following instructions are for IT organizations that require CAREWare to run under IIS.
|
Quick path
Test local CAREWare > Install IIS and proxy modules > Add HTTPS site > Disable caching > Add /careware application > Create reverse proxy rule > Verify remote HTTPS access
Before you begin
• Install matching, current CAREWare Business Tier and HTTP Server builds and confirm both Windows services run.
• From the server, open http://localhost:8080/careware/rs/index.htm and confirm the CAREWare login page appears.
• Restrict TCP port 8080 to loopback/local access. Publish only HTTPS port 443 through approved network controls.
• Prepare a trusted certificate matching the public DNS host name, and a dedicated folder such as C:\inetpub\wwwroot\cw_proxy.
• Install IIS Web Server role, IIS URL Rewrite, and Application Request Routing (ARR). Ensure ARR proxy functionality is disabled at the server level.
• Install latest security updates recommended by Microsoft for the Windows Server, SQL Server, and other Microsoft applications like the IIS Manager
|
|
ImportantRequired Security Configuration: Disable IIS and ARR Caching CAREWare handles sensitive client information that requires user authentication and authorization. When configuring IIS as a reverse proxy for CAREWare, caching must be disabled to prevent the possibility of cached responses being delivered to an unauthorized user. 1. Disable IIS Output Caching 1. Open IIS Manager and select the CAREWare website. 2. Double-click Output Caching. 3. Select Edit Feature Settings. 4. Uncheck Enable cache. 5. Uncheck Enable kernel cache. 6. Click OK. 7. Confirm these settings also apply to the CAREWare application.
2. Disable Application Request Routing (ARR) Caching 1. In IIS Manager, select the server. 2. Double-click Application Request Routing Cache. 3. Select Server Proxy Settings. 4. Uncheck Enable disk cache and click Apply. 5. If using ARR server farms, select the applicable farm, open Caching, disable disk caching, and set the memory cache duration to 0. 6. Verify that no ARR cache control rules override these settings for CAREWare responses.
Microsoft Security Guidance Microsoft’s official ARR documentation states: “Authorization cannot be delegated to ARR. Therefore, if the contents are highly sensitive in nature and require authorization, it is recommended that you do not enable cache.” Source: Microsoft Learn: Configure and Enable Disk Cache in Application Request Routing 3. Verify the Configuration Before making CAREWare available to users, confirm that IIS Output Caching and ARR caching are disabled. Test the application using separate authorized test accounts to verify that one user’s information is not displayed to another user. If caching was previously enabled, review existing cached content and handle any necessary preservation or removal according to applicable security and data retention procedures. Important: These settings must remain in place following IIS configuration changes, server migrations, or upgrades. |
Install and configure IIS
Step 1. In Windows Server 2025, open Server Manager > Add roles and features, install Web Server (IIS), then open Tools > Internet Information Services (IIS) Manager. On Windows 11, enable Internet Information Services in Windows Features for a non-production test environment.
Step 2. Install IIS URL Rewrite and Application Request Routing (ARR) from supported Microsoft distribution sources. Restart IIS Manager after installation.
Step 3. Select the server node, open Application Request Routing Cache, choose Server Proxy Settings, select Enable proxy, and click Apply.
Step 4. Expand Sites, right-click Sites, and select Add Website. Enter a descriptive site name and an existing physical path.

Step 5. Set Binding type to https, port 443, enter the public Host name, select the matching TLS certificate, and click OK.

Step 6. Select the new website and open Output Caching > Edit Feature Settings. Clear (uncheck) Enable cache and Enable kernel cache, then click OK.

Step 7. Right-click the new website and select Add Application. Set Alias to careware and Physical path to the dedicated cw_proxy folder. Click OK.

Step 8. Right click the site and click Add Application. Select the careware application, open URL Rewrite, click Add Rule(s), choose Reverse Proxy, and click OK.

Step 9. For inbound destination enter localhost:8080/careware. Select Enable SSL Offloading. Leave Rewrite the domain names of the links in HTTP responses unchecked; click OK.
Step 10. Review the generated rule and confirm the /careware path is forwarded correctly. If a reverse-proxy template is unavailable, verify ARR is installed and proxy is disabled at the server level.
Step 11. From another device, browse to https://your-domain.example/careware/rs/index.htm. Confirm the login page opens with a valid HTTPS certificate.
IIS settings checklist
|
Setting |
Required value |
|
Public website binding |
HTTPS, port 443, correct host name and certificate |
|
Application alias |
careware (exact spelling) |
|
Application physical path |
Dedicated existing cw_proxy folder |
|
Backend target |
localhost:8080/careware |
|
ARR proxy |
Enabled |
|
Output caching |
Enable cache: Off; Enable kernel cache: Off |
|
SSL offloading |
Enabled for HTTPS-to-local-HTTP proxy |
|
Response domain rewriting |
Disabled unless separately tested and required |
|
Backend exposure |
Port 8080 restricted to localhost |
|
|
|
How to confirm it worked
• The local CAREWare URL works before configuring IIS.
• The external HTTPS URL opens the CAREWare login page and shows a trusted certificate.
• Sign in with a test account, switch providers if permitted, and verify that client screens show the correct provider and user context.
• Verify the backend port is not reachable from a remote workstation.
• Check IIS access logs, URL Rewrite rules, and CAREWare HTTP Server/Business Tier logs if requests fail.
Troubleshooting and common questions
The Reverse Proxy rule template is missing.
Install ARR and URL Rewrite, enable ARR proxy at the server node, and reopen IIS Manager.
The public site returns 502 Bad Gateway.
Check CAREWare HTTP Server service, local port 8080, backend target, and IIS/ARR logs.
The site returns 404 or the wrong application.
Confirm the application alias is careware and inspect the generated URL Rewrite match and target.
The browser reports a certificate warning.
Verify certificate trust, validity, private-key access, and hostname match.
User/provider data appears inconsistent.
Disable both IIS caching options, review any ARR caching policy, then retest with a fresh browser session.
Related CAREWare guides and Microsoft resources
|
Resource |
How it helps |
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Open the linked reference for detailed setup, security, or troubleshooting guidance. |
|
|
Microsoft: URL Rewrite configuration reference |
Open the linked reference for detailed setup, security, or troubleshooting guidance. |


