Multiple sites using Apache Virtualhost directive
A useful and easy way to setup multiple web sites using the Apache HTTP Server is the practice of the virtual host: that is the ability to host multiple web sites on the same instance of httpd service. The community offers an impressive number of modules and libraries that allow you to extend the of Apache core functionality. In this article I will show how to use the proxy_ajp_module extension to configure multiple web sites dns on the same server using the “ VirtualHost ” Apache directive. The following figure shows the scenario that I will examine. Apache Web Server – IP: 10.10.1.50 Install, if not present, the http Apache Web Server and check proxy_ajp module. 1 2 3 4 5 6 7 8 9 10 11 12 $ yum install httpd . . . . . . . . $ httpd - M | grep proxy proxy_module ( shared ) proxy_balancer_module ( shared ) proxy_ftp_module ( shared ) proxy_http_module ( shared ) proxy_ajp_module ( shared ) proxy_connect_module