Hide Port Number and Replace ORDS with your Custom Name in Oracle Apex URL

1. Introduction

In this video, I demonstrate how to hide the port number in Oracle APEX and replace ORDS with a custom name. I showcase the process on my virtual machine, explaining step-by-step how to achieve a seamless URL without displaying the port number.

2. Configuring Oracle APEX on a Virtual Machine

In this video, I show how to start the Oracle APEX service, hide the port number, and customize the URL using Tomcat. No specific action is requested from viewers, but I provide a detailed walkthrough of the configuration process.

3. Installing Oracle APEX 24.1

How to install Oracle Apex 24.1 with Apache Tomcat and Ords 24.1 in Database 19c on Windows
Follow the instructions in the link above to install Oracle APEX 24.1 with Apache Tomcat and ORDS 24.1 on a Windows Database 19c. The installation involves several steps, including downloading the necessary software, configuring the database, and setting up Tomcat and ORDS.

4. Switching to Tomcat

Link to the guide on running Oracle APEX over Tomcat: https://apexnote.blogspot.com/2024/08/change-running-oracle-apex-ords-to.html
How to switch or move or run Oracle Apex over Tomcat
This link provides a detailed guide on how to configure Oracle APEX to run over Tomcat. The guide includes moving files, adjusting configuration files, and starting Tomcat.

5. Configuration Steps

Step 1: Copy ords.war and images to the webapps Folder

Copy the ords.war file and the images folder into the webapps folder of Tomcat. This is necessary for Tomcat to deploy the ORDS application.
 
Bash

Step 2: Rename the ords.war File

Rename the ords.war file to use a custom name. This helps create a custom URL.
 
Bash

Step 3: Change the Tomcat Port Number to Port 80

Open the Tomcat configuration file server.xml and change the port number to 80. This allows access to the application without specifying the port number in the URL.
 
HTML/XML

Steps to Edit :
  • Navigate to the Tomcat configuration folder.
  • Open the server.xml file with a text editor.
  • Locate the <Connector> element that defines the HTTP/1.1 protocol.
  • Change the value of the port attribute to 80.
  • Save the file and close the editor.

6. Summary

After completing these steps, you have successfully configured Oracle APEX to hide the port number and use a custom name for ORDS. Restart Tomcat to apply the changes.
 
Bash

Detailed Steps to Restart Tomcat:
  • Navigate to the bin directory of your Tomcat installation.
  • Run the shutdown.sh script to stop Tomcat.
  • Run the startup.sh script to start Tomcat again.

7. Verifying the Configuration

After restarting Tomcat, you can verify the configuration by accessing the URL in your browser. You should be able to access Oracle APEX without specifying the port number in the URL.
 
Plain Text

Tasks:
  • Installation: Follow the instructions in the installation link to install Oracle APEX 24.1.
  • Configuration: Follow the steps to configure Oracle APEX over Tomcat.
  • Verification: Ensure that Tomcat starts correctly with the new settings and that the URL works without the port number.

 {fullWidth}

0 $type={blogger}:

Kommentar veröffentlichen