apachevhnewbie
Technical User
I've a domain and also created a CNAME subdomain sub.mydomain.com for my only external ip address *.*.*.*
In my current environment, I've have an Apache web server (10.1.10.1) port 80 and 443 opened, a web application server 1 (10.1.10.2) and web application server 2 (10.1.10.3).
So, what I am trying to do is that I want to configure using virtual host on my apache web server (10.1.10.1) so that when I connect to from IE, It will redirect me to web application server 1 (10.1.10.2) home page and when I do sub.mydomain.com from IE, It will redirect me to web application server 2 (10.1.10.2)
The other thing that I'm troubling with is the DocumentRoot paremeter in the virutal host config file. Since I'm trying to redirect to my internal ip addresses meaning that my web applications are reside on 10.1.10.2 and 10.1.10.3 respectively. They are not on the apache web server. Therefore what is the parameter for DocumentRoot? Thanks in advance
In my current environment, I've have an Apache web server (10.1.10.1) port 80 and 443 opened, a web application server 1 (10.1.10.2) and web application server 2 (10.1.10.3).
So, what I am trying to do is that I want to configure using virtual host on my apache web server (10.1.10.1) so that when I connect to from IE, It will redirect me to web application server 1 (10.1.10.2) home page and when I do sub.mydomain.com from IE, It will redirect me to web application server 2 (10.1.10.2)
The other thing that I'm troubling with is the DocumentRoot paremeter in the virutal host config file. Since I'm trying to redirect to my internal ip addresses meaning that my web applications are reside on 10.1.10.2 and 10.1.10.3 respectively. They are not on the apache web server. Therefore what is the parameter for DocumentRoot? Thanks in advance