1. DNS Server / Wamp Server : (192.168.172.14)
- Install-Configure DNS Server
- Create Primar Zone “aview.org”
- Create two host file edx and studio and its should be pointed to same DNS Server IP
edx.aview.org ----> 192.168.172.14
studio.aview.org ----> 192.168.172.14
- Install Wamp Server and make it should be working condition
- For Virtual hosting And Proxy Passing, Add the below mentioned modules in httpd.conf file
LoadModule headers_module modules/mod_headers.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so
- Modify the httpd.conf again
under "# Virtual hosts", uncomment “#Include conf/extra/httpd-vhosts.conf”
This tells Apache to include the file "httpd-vhosts.conf" (the file where we set our virtual hosts) when configuring its settings.
- Virtual Hosting In Apache: Edit the httpd.conf and add the lines
ServerAdmin edx.aview.org
ServerAlias edx.aview.org
ProxyPass / http://192.168.172.100/
ProxyPassReverse / http://192.168.172.100/
ServerAdmin studio.aview.org
ServerAlias studio.aview.org
ProxyPass / http://192.168.172.100:9080/
ProxyPassReverse / http://192.168.172.100:9080/
2. Web Server - Tomcat Running Server (192.168.172.100)
- Install Wamp And Tomcat Properly
- Configure Wamp Listen Port 80 and Tomacat listen port 9080
- Normally Wamp Listen locally.So Make it accessible from other machines.For this Edited the httpd.conf
AllowOverride none
#Require all denied
Allow from all
#Require local
Allow from all
3 Client 1 (192.168.172.1)
Check in Browser :- http://edx.aview.org And http://studio.aview.org
No comments:
Post a Comment