Configure a Custom URL for an Application Deployed to a Service Instance
You can use Oracle Traffic Director to define a custom "vanity" URL for an application deployed to an Oracle Java Cloud Service instance.
For example, if you have a shopping cart application deployed with the following context root: /shopping-cart/widgets
, by default users would access the application using a URL that includes the context root details, such as http://example.com/shopping-cart/widgets
. Let's say that you want to simplify this URL to http://example.com
. You can accomplish this by modifying the load balancer configuration.
By default, if you created your service instance in an Oracle Cloud Infrastructure Classic region, external access to the load balancer console is disabled for security purposes. If you did not enable console access while provisioning your service instance, see Enabling Console Access in an Oracle Java Cloud Service Instance.