Table of contents

Configure Reverse Proxy Using IIS

The following is an example on how to set up a reverse proxy using IIS for DLS for your reference. You can do the configuration yourself as long as you can achieve the requirement which is to redirect requests sent to https://www.yoursite.com/dls/* to http://127.0.0.1:48080/*.

Install IIS

Skip this step if you already have IIS installed.

Install IIS URL Rewrite

Download and install IIS URL Rewrite from here.

Install Application Request Routing

Download and install Microsoft Application Request Routing here.

Configure the proxy

DLS-on-Windows-023

DLS-on-Windows-024

DLS-on-Windows-025

Configure URL Rewrite rules

DLS-on-Windows-017

DLS-on-Windows-018

DLS-on-Windows-019

Let’s configure the following rule for the server

Name:DLS-rewrite-rule
Pattern: ^dls/(.*)$
Rewrite URL:http://localhost:48080/{R:1}

DLS-on-Windows-020

Test that the configuration works

Open http://www.yoursite.com/dls/page/index.html and if you see the following page then the configuration is complete.

DLS-on-Windows-026

Configure SSL

Prepare a SSL certificate for your site (e.g. https://www.yoursite.com) and configure it properly.

Refer to how to set up ssl on iis.

After that, you should be able to access the server by https://www.yoursite.com/dls/page/index.html#/.

If you use a JavaScript-based SDK, such as Dynamic Web TWAIN WebAssembly Edition or Dynamsoft Barcode Reader JavaScript Edition, you must configure the self-hosted DLS to run over a secure connection (HTTPS).

This page is compatible for:

Version 2.2.19

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.2.19
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support