|
Hi there,
I (fairly new to linux with no programming
background) was wondering if someone might have an idea where I'm going wrong
with this one; I have home adsl thus dynamic ip and have a dyndns domain and
have the main host running in apache perfectly even with ~userid
accounts.
my fisrt question is it possible to have a virtual
host set up with with an additional host from dyndns with a differrent domain
name eg. xxxxxx.homelinux.net and xxxxx.dyndns.biz?
when I try to acces the the above folder (http://192.168.0.150/) from ie5 on the lan
i get the main host and index.htm the following is <VirtualHost> section of
httpd.conf
BindAddress 192.168.0.150
NameVirtualHost 192.168.0.150
<VirtualHost 192.168.0.150> ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/phbd ServerName phbd.dyndns.biz ServerAlias phbd.dyndns.biz ErrorLog /var/logs/httpd/phbd.dyndns.biz-error_log CustomLog /var/logs/httpd/phbd-access_log common </VirtualHost> <VirtualHost _default_:*>
</VirtualHost>
I have also created virtual interface using the
following in /etc/rc.d/rc.local ...:
ifconfig eth0:1 192.168.0.150
route add 192.168.0.150 eth0:1
(ihaven't changed any portforwarding for external
access yet)
when I try to acces the the above folder (http://192.168.0.150/) from ie5 on the lan
i get the main host and index.htm
many thanks
matt
|
