LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2010, 07:03 PM   #1
eastsidedev
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
Cannot reach server


I installed Centos 5.5 on a new machine. The setup went OK with no errors. I have a static IP address from the ISP, let's call it:
72.86.26.xxx, and I reigstered a domain xxx.com with a registrar and pointed the A record to 72.86.26.xxx

During setup I edited the eth0 entry for static IP, and entered 2.86.26.xxx, and entered the host name, under hosts xxx.com

When the install was finished, the system restarted, and I logged back in as root. I had internet connectivity, indicating that my connectivity settings were correct (I am writing this message on the system, using Firefox). The problem is that when I enter xxx.com from another computer, I get nothing. It has been more than 48 hours, and when I ping xxx.com, it comes back with the correct IP address.

I am a newbier, so there could be some steps I missed. I looked through the FAQs, and googled the issues, but I could not find a solution. Suggestions are appreciated.

Regards
 
Old 10-23-2010, 10:12 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
What is your goal? What exactly do you mean by "enter xxx.com from another computer"? Are you trying to run a Web server? SSH in? FTP?
 
Old 10-23-2010, 10:45 PM   #3
eastsidedev
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
What is your goal? What exactly do you mean by "enter xxx.com from another computer"? Are you trying to run a Web server? SSH in? FTP?
I am running an Apache HTTP server. I also installed the FTP server. What I mean is that when I enter http://xxx.com in my browser, on another PC, I get a "cannot connect". But when I ping, it's there.
 
Old 10-23-2010, 10:49 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Ok, so is Apache installed, running, and listening on port 80 on the server?
 
Old 10-23-2010, 11:07 PM   #5
eastsidedev
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Ok, so is Apache installed, running, and listening on port 80 on the server?
It is running and listening to all addresses on port 80. If it was not running I would not be able to install and run webmin.
 
Old 10-23-2010, 11:33 PM   #6
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, PCLinuxOS
Posts: 153

Rep: Reputation: 9
check with your firewall. stop iptables for while and check. If it works, then open port 80 in your firewall for your web interface.
 
Old 10-24-2010, 07:13 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Is the server behind a router? Have you forwarded port 80 form your router to the server's internal IP? Is the client behind the same router?
 
Old 10-24-2010, 07:56 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
Hi,

The computer you are using to reach the server is on the same network, LAN? What are you using for DNS? Try entering the IP for the URL in the address on the second computer. If this works then you definitely have DNS issues. You said that 'ping' does provide link but name doesn't so what is setup for DNS for your LAN?
 
Old 10-24-2010, 10:11 AM   #9
eastsidedev
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Is the server behind a router? Have you forwarded port 80 form your router to the server's internal IP? Is the client behind the same router?
The server is plugged directly in the Ethernet port. Frontier (replaced Verizon locally), offers a fiber link that's a direct Ethernet port. It's no different from plugging into an Ethernet switch.

The client is on another connection, from Comcast. I use the Comcast connection for my home service, and the Frontier fiber port (just installed it for this server, which will be hosting multiple domains), for business.
 
Old 10-24-2010, 10:31 AM   #10
eastsidedev
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by onebuck View Post
Hi,

The computer you are using to reach the server is on the same network, LAN? What are you using for DNS? Try entering the IP for the URL in the address on the second computer. If this works then you definitely have DNS issues. You said that 'ping' does provide link but name doesn't so what is setup for DNS for your LAN?
No, separate networks, and separate ISPs. For DNS, on the server, I am using the ISP's DNS servers. Trying http://72.86.26.xxx is the first thing I did, no results. I pinged the name, not the IP address, and it resolved to the proper address (meaning the DNS servers at the registrar are properly configured), and the ping was returned.
 
Old 10-24-2010, 02:55 PM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
On the server, can you get to port 80 on localhost?

Does Verizon block port 80 inbound? Try moving Apache to 81 or 7438 and see if http://72.x.x.x:pp works
 
  


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
cant reach my server zwtint Linux - Networking 1 02-16-2007 07:51 PM
server cannot reach outside world ballistic509 Debian 13 08-29-2006 06:15 PM
workstation cannot reach server rosey_krh Linux - Networking 5 04-21-2005 05:46 PM
can't reach new server wedgeworth Linux - Software 2 03-18-2004 03:39 PM
can't reach proxy server Fabian030 Linux - Networking 24 09-05-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration