A web server is responsible for accepting HTTP requests from clients (web browsers) and serving them HTTP responses along with optional data content, such as web pages (HTML documents) and linked objects such as images. ONEWEB supports both Apache Web as well as IBM HTTP server.
To configure Apache2 you must follow below steps.
Setting Apache reverse proxy. Configure a new virtual host or site, copy that file into the same directory
Disable and Enable the new VirtualHost using the a2dissite, a2ensite utility and restart Apache2
Disable
Enable
Restart
Apache2 Modules. Use the a2enmod utility to enable a module:
Setting port. Change Apache default port to a custom port. Edit: port.conf
Testing your application's context root.