How to Change the Default Home Page of Oracle HTTP Server
By default when the URL http://[OHS_HostName]:[OHS_Port] is accessed, a default welcome page is displayed. In certain scenarios, there will be a need to change this default welcome page to a custom one. This post provides steps to change this default home page of OHS to any custom page.
This can be achieved by modifying the default page definition in the httpd.conf file either via AS/FMW console or by manually editing the httpd.conf file. In this post, we are talking about how to do this manually.
10g Application Server
Modify the below lines in the httpd.conf file:
For example ORACLE_HOME/Apache/Apache/htdocs/test.html as the default page would require:
11g Fusion Middleware
In 11g, the name of the default index page of HTTP Server is ” welcome-index.html”. So you would need to change the following entry in httpd.conf file for 11g:
12c Fusion Middleware
In 12c, the changes needs to be done in the httpd.conf file present inside the staging directory ie. $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs1:
Note: Here “custom_staticPage_name” is the name of the static page you would liked to be displayed instead of the default index.html page. This custom page should be placed inside the htdocs directory inside the apache folder inorder to be taken effect.