Solved

can't connect to home webserver

Posted on 2010-11-11
11
572 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
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:small_student
small_student 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
 

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
New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

 

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now