Results 1 to 1 of 1
Dear, My situation is, I have a domain name http://www.xxxxx.com and this domain point to IP 188.8.131.52, this 184.108.40.206 is a virtual domain web server and gateway, now, I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-18-2007 #1
- Join Date
- Oct 2004
Problem in Virtual Domain
My situation is,
I have a domain name http://www.xxxxx.com and this domain point to IP 220.127.116.11, this 18.104.22.168 is a virtual domain web server and gateway, now, I have another web server inside the LAN 192.168.1.2. Now, how do I set the virtual domain, let http://www.xxxxx.com will link to the internal web server.
Now, I already do a setting on virtual domain web server.
<VirtualHost *> ServerAdmin email@example.com ServerName www.xxxxx.com RewriteEngine on RewriteRule ^(.*)$ http://192.168.1.2/$1 [L,R] <-- told the virtual domain which internal web server ErrorLog logs/www.lckdanny.com-error.log CustomLog logs/www.lckdanny.com.log common </VirtualHost>
When I test the domain http://www.xxxxx.com, it can't display anything, just a blank page and show the URL is http://192.168.1.2, the result like to find the domain http://192.168.1.2 through internet!! My setting is wrong...
Please, anyone give me a hand to fix this problem.