Hi folks, CentOS 4.4 amd64 httpd.x86_64 2.0.52-28.ent.centos4 I'm building a web server. # /etc/init.d/httpd status Code: httpd (pid 4316 4315 4314 4313 4312 4311 4310 4309 4306) is running... Apache is running. # nmap -sT -O localhost Code: Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2007-04-05 14:50 HKT Interesting ports on localhost.localdomain (127.0.0.1): (The 1644 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 110/tcp open pop3 111/tcp open rpcbind 143/tcp open imap 443/tcp open https 631/tcp open ipp 884/tcp open unknown 953/tcp open rndc 993/tcp open imaps 995/tcp open pop3s 3306/tcp open mysql 6000/tcp open X11 Device type: general purpose Running: Linux 2.4.X|2.5.X|2.6.X OS details: Linux 2.5.25 - 2.6.3 or Gentoo 1.2 Linux 2.4.19 rc1-rc7) Uptime 0.101 days (since Thu Apr 5 12:25:01 2007) Nmap run completed -- 1 IP address (1 host up) scanned in 2.162 seconds port 80 is listening. # ping -c3 satimis.com Code: PING satimis.com (220.232.213.178) 56(84) bytes of data. 64 bytes from 220.232.213.178: icmp_seq=0 ttl=150 time=0.612 ms 64 bytes from 220.232.213.178: icmp_seq=1 ttl=150 time=0.708 ms 64 bytes from 220.232.213.178: icmp_seq=2 ttl=150 time=0.701 ms --- satimis.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 0.612/0.673/0.708/0.052 ms, pipe 2 Ping satimis.com is working But the web server can't be visited by outside World with "www.satimis.com" nor IP address on browser (remark: I haven't hoisted anything. But at least Apache default page can be visited) Please advise. TIA Edit: # hostname host.satimis.com # hostname -f host.satimis.com B.R. satimis
Solved Hi till, Problem solved. I made a typo on /etc/sysconfig/network-scripts/ifcfg-eth0 Code: DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.0.255 HWADDR=00:0E:A6:F9:A3:5B IPADDR=192.168.0.180 (typo) NETMASK=255.255.255.0 NETWORK=192.168.0.10 ONBOOT=yes TYPE=Ethernet IPADDR=192.168.0.10 is correct. The fixed IP 220.232.213.178 assigned by ISP is visible to outside World. ISP forwards port 25 and 80 to IP Add 192.168.0.10, the IP on router. Now the server can be visisted by outside World with the test page displayed. Tks. B.R. satimis