absm1
2006-01-22, 04:03 AM CST
Hi
I have spent much time sweating over fedora and apache but no result. Whats needed is xp to start I.E. and point it to a domain on the 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 www.ecomm.net from xp but unable to run host www.ecomm.net not even from fedora box itself?
Output from host www.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 a poor mans dns role as attempted below.
Interfaces:
All are up, pingable and traceroutable.
/etc/hosts:
127.0.0.1 localhost.localdomain localhos
192.168.0.1 www.ecomm.net
192.168.0.4 desktop
/etc/hosts.allow:
ALL : 192.168.
/etc/hosts.deny
Empty. Nothing entered.
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=www.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 www.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! :confused:
I have spent much time sweating over fedora and apache but no result. Whats needed is xp to start I.E. and point it to a domain on the 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 www.ecomm.net from xp but unable to run host www.ecomm.net not even from fedora box itself?
Output from host www.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 a poor mans dns role as attempted below.
Interfaces:
All are up, pingable and traceroutable.
/etc/hosts:
127.0.0.1 localhost.localdomain localhos
192.168.0.1 www.ecomm.net
192.168.0.4 desktop
/etc/hosts.allow:
ALL : 192.168.
/etc/hosts.deny
Empty. Nothing entered.
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=www.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 www.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! :confused: