Skip to main content

Command Palette

Search for a command to run...

How to Set Up Reverse Proxy with Windows IIS for Oracle APEX?

Reverse Proxy for Oracle APEX

Updated
3 min read
How to Set Up Reverse Proxy with Windows IIS for Oracle APEX?
A

I am an experienced IT professional with over 10 years of expertise in ERP, specializing in manufacturing and finance modules.

As a solution architect, I am skilled in Oracle PL/SQL and Oracle APEX, with experience in software development, project management, and solution architecture.

Leveraging my expertise in Enterprise Performance Management (EPM), I help businesses make data-driven decisions and improve their performance.

I am committed to staying current with the latest trends and technologies in the industry and enjoy collaborating with colleagues and clients to design and implement solutions that align with their unique business needs.

If you would like to learn more about my experience or have any questions, please feel free to connect with me.

Introduction

In this tutorial, we will discuss the steps to set up a reverse proxy for Oracle APEX using Microsoft IIS (Internet Information Service).

Please note that this guide is intended for educational purposes only. In a production environment, additional steps may be necessary to adequately secure the applications.

Use Case

Your organization hosts an APEX application, and you aim to enhance its security by implementing SSL encryption and obscuring the actual port numbers on which the application runs.

Assumptions

  • ORDS is running either in standalone mode or deployed in Apache Tomcat.

  • ORDS is accessible on port 8080.

  • The DNS record for your domain has already been added and is pointed to the reverse proxy server.

Video Tutorial

Steps

Setting up a reverse proxy with IIS involves five steps, as listed below.

  1. Install IIS

  2. Install Microsoft Application Request Routing Module

  3. Install Microsoft URL Rewrite Module

  4. Enable Reverse Proxy

  5. Configure Trusted Origins

Watch the video tutorial and follow the steps to set up a reverse proxy.

  1. Install IIS

  • Open Server Manager

  • Select "Add roles and features"

  • Click Next and select "Role-based or feature-based installation" and click Next.

  • Select "Web Server (IIS)" from Server Roles

  • Click Next and Click "Add Features"

  • Click 'Next' until you reach the last step of the wizard, and the installation will commence.

Once the installation is complete, check the server status by opening 'localhost' in a browser.

  1. Install Microsoft Application Request Routing Module

Verify the installation by opening the IIS Manager

  1. Install Microsoft URL Rewrite Module

  1. Enable Reverse Proxy

  • Open IIS Manager

  • Open your site

  • Open URL Rewrite module

  • Click "Add Rules" under actions.

  • Select "Reverse Proxy" and click OK.

  • Set the rules as shown in the screenshot.

  • You have enabled Reverse Proxy. Let's verify by typing the domain in the browser. You will see that the APEX application is loading without the need to specify the port number.

  1. Configure Trusted Origins

  • If you attempt to log in to Oracle APEX, you may encounter the following error. To resolve this, add your domain to the trusted origins in the ORDS configuration file.

  • Open the ORDS configuration file from {ORDS Config Directory}/global/settings.xml

  • Add your domain to the trusted origins list and save the file.

      <entry key="security.externalSessionTrustedOrigins">http://example.com,https://example.com:443</entry>
    
  • Restart ORDS and verify the setup by logging into Oracle APEX Workspace.

References

How to? Oracle APEX

Part 5 of 10

This series intended to address common challenges faced during the Oracle APEX development.

Up next

How to Zip and download files in Oracle APEX?

Using the APEX_ZIP utility package