Solved

can't connect to home webserver

Posted on 2010-11-11
11
578 Views
Last Modified: 2012-05-10
Hi,

I'm wondering why I can see my site on my Centos home server here:
http://seokingdomheaven.com

(it's just a test right now)

Yet I can't see it on my vista laptop. It's on the same lan but that shouldn't have anything to do with it, should it? It times out on my vista.
0
Comment
Question by:Victor Kimura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 7

Expert Comment

by:compaqus
ID: 34112357
I can't see it.

Is your router forwarding  requests on 80 to the centos machine?
0
 
LVL 7

Expert Comment

by:compaqus
ID: 34112397
Can you see it from your LAN?
Is 96.49.230.250 your public IP address? (DNS set up properly?)
0
 
LVL 14

Assisted Solution

by:Monis Monther
Monis Monther earned 125 total points
ID: 34112647
please use your Internal IP when connecting from your VIsta machine not the DNS name

put this in the browser

http://192.168.1.6/

If you want to use it by the hostname you must add the host in your wnidows hosts file.

You can only use the DNS name from outside your network because you do not have a local DNS
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:Victor Kimura
ID: 34112854
Hi compaqus,

Yes, the port if forwarded on my router. I guess the DNS hasn't propagated yet. I used Dyndns.

BTW, how do you find that the site's IP is 96.49.230.250?

This is my home server's address:24.84.77.119

To small_student,

Sorry, I wasn't clear. I have my Centos (home server) and Vista (laptop) on the LAN. I'm running the web server from the Centos. So when I type in http://seokingdomheaven.com from my Centos machine I see the page properly. It's as if the Centos isn't leaving the LAN and going through a reverse DNS checkup to get to my server again. But when I type in http://seokingdomheaven.com on my Vista laptop the server isn't found which makes sense since the IP hasn't propogated properly yet.

Why can the Centos find the site?
0
 
LVL 7

Assisted Solution

by:compaqus
compaqus earned 250 total points
ID: 34112926
Go start -> run cmd
nslookup seokingdomheaven.com

 I assume the domain is added in /etc/hosts file on the centos server.
0
 

Author Comment

by:Victor Kimura
ID: 34113842
I get this:
nslookup seokingdomheaven.com
Server:         192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
Name:   seokingdomheaven.com
Address: 96.49.230.250

It's pointing to the incorrect ip though. It's the old one.

There's nothing in my /etc/hosts file.

It's odd that the site shows up on my Centos machine but not my Vista laptop. Any ideas?
0
 
LVL 7

Assisted Solution

by:compaqus
compaqus earned 250 total points
ID: 34114297
Centos looks in the /etc/hosts file before using the name servers. If the IP or the name is not found there, it will ask the DNS.

The /etc/hosts should contain at least a "localhost" line, otherwise some programs that connect to the system via localhost will fail.

Are you sure it's empty?

If we rule out the /etc/hosts, the only way Centos would resolve and Vista wouln't is if the OS are using different domain name servers
0
 
LVL 12

Assisted Solution

by:mccracky
mccracky earned 125 total points
ID: 34121571
If you've defined the CentOS machine hostname as seokingdomheaven.com it will probably be using localhost to show the site.  As mentioned, you need to look at the /etc/hosts file on the CentOS machine to see what's there.  From linux, the name resolution checks first the /etc/hosts file and then uses the /etc/resolv.conf nameservers.  
0
 

Accepted Solution

by:
Victor Kimura earned 0 total points
ID: 34130361
I was updating the wrong dns server. I was updating the ip at dyndns and the dns is located at zoneedit. Thank you for your help everyone. I really appreciated it. =)
0
 
LVL 7

Expert Comment

by:compaqus
ID: 34130688
Glad you've sorted it out!
0
 

Author Closing Comment

by:Victor Kimura
ID: 34182539
it's the answer
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question