two domains two servers one dynamic ip address
- by giantman
as i said i have 2 domain hi.org and bye.net and one dynamic ip address and two servers.
i want to attach one domain bye.net to server1 and hi.org to server2.
using apache wamp 2.0i.
i hope someone will be able to answer.
`
httpd.conf file additions
ProxyRequests Off
Order deny,allow
Allow from all
vhost file additions
NameVirtualHost *:80
default
DocumentRoot "c:/wamp/www/fallback"
Server 1
DocumentRoot "c:/wamp/www"
ServerName h**p://bye.net
ServerAlias bye.net
Server 2
ProxyPreserveHost On
ProxyPass / h*p://192.168.1.119/
DocumentRoot "g:/wamp/www"
ServerName h*p://hi.org
ServerAlias hi.org
`
after doing all this i fallback to server1 only i don't get the page hi.org i only get the page bye.net, i don't even get the default fallback page which gets executed when a person enters ip address but not the domain name.
i use windows 7 (server2) and windows xp (server 1)