LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2006, 05:12 PM   #1
abbs1
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Fedora hostname resolution


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!
 
Old 01-26-2006, 02:20 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Just a long shot, but have you made sure that your firewall allows access to port 80 from other machines?
On fedora, probably iptables is used. So check out it's config.

Also, on your win XP box, try:
telnet ecomm.net 80
just to see if you can connect to port 80 (HTTP) on your server. If you can't, it's most likely a firewall issue, either on XP (if you have SP2 installed, it comes with a firewall) or on Linux, or on any interfering firewalls inbetween (if you have any on your network).
 
Old 01-26-2006, 02:25 AM   #3
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Also, have you set up routing on your network?
How are your 2 boxes connected to each other? Via a separate router, directly, ...?
What are the IP - subnet mask - gateway addresses on both?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hostname resolution problems. FLOODS Fedora 4 10-27-2005 07:58 PM
Automatic Hostname Resolution douceur Linux - Networking 3 06-21-2005 04:50 AM
Linux Hostname resolution, etc... nex6 Linux - Enterprise 2 12-28-2004 03:28 PM
problem in hostname resolution anupverma Linux - Newbie 5 05-18-2004 12:27 PM
Hostname resolution not working akela Linux - Networking 0 06-07-2003 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration