Hi
Fedora/apache setup
Fedora4 / Apache2 is running.
The Aim:
Xp to start I.E. and point it to a domain on the proposed development server.
Nic on server has sub interfaces configured with separate ip’s for each interface. httpd is listening on port 80. Would like to setup ip based virtual hosting for each interface, with separate ip and domain name.
I am able to ping ecomm.net from xp but unable to run host ecomm.net not even from fedora box itself?
Output from host ecomm.net
connection timed out; no servers could be reached
No chance of pointing I.E. to the domain.
Heres the setup from my understanding of fedora and apache:
Since a development fedora box is proposed, there’s no need for dns unless the box needs to resolve registered FQDN. In that case nameservers will be required. Instead /etc/hosts can do the resolving in place of dns.
Interfaces:
All are up, pingable and traceroutable.
/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.0.2 ecomm.net
192.168.0.5 desktop
/etc/hosts.allow:
ALL : 192.168.
/etc/hosts.deny
Empty. Nothing entered.
/etc/nsswitch:
files dns nisplus nis
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=ecomm.net
/usr/local/apache2/conf/httpd.conf:
<VirtualHost 192.168.0.1>
# ServerAdmin
webmaster@dummy-host.example.com
DocumentRoot /home/ecomm-online/public_html
ServerName ecomm.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
<Directory /home/ecomm-online/public_html/>
Options Includes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
Can anyone assist please!