I have seen a lot of post here about getting virtual hosts working, but none
of them seem to address my problem. So here I go:
I have virtual hosts working using the following configuration:
NameVirtualHost 158.252.98.140
<VirtualHost 158.252.98.140>
ServerName rcs.dynip.com
DocumentRoot /www/rcs
</VirtualHost>
<VirtualHost 158.252.98.140>
DocumentRoot /www/calvarybaptist
ServerName rcs.dyn.tj
</VirtualHost>
<VirtualHost 158.252.98.140>
ServerName rcs.serverathome.com
DocumentRoot /www/calvarybaptist
</VirtualHost>
The problem I have is currently (until my DSL is installed) I need to be
able to server these using a dynamic IP address. Is this possible? I have a
few domain names that get updated ever time my IP changes, namely the
following: rcs.dynip.com, rcs.dyn.tj, rcs.serverathome.com.
I have tried the following configuration but only the first virtual host
gets served:
NameVirtualHost rcs.dynip.com
<VirtualHost rcs.dynip.com>
ServerName rcs.dynip.com
DocumentRoot /www/rcs
</VirtualHost>
<VirtualHost rcs.dynip.com>
DocumentRoot /www/calvarybaptist
ServerName rcs.dyn.tj
</VirtualHost>
<VirtualHost rcs.dynip.com>
ServerName rcs.serverathome.com
DocumentRoot /www/calvarybaptist
</VirtualHost>
2nd problem
if I add the following at the end or the beg. of the virtual host list:
<VirtualHost _default_:*>
DocumentRoot /home/httpd/html
</VirtualHost>
this never seems to work.
Any help would be great
Thanks
Bern Rudisill
Rudisill's Computer Solutions