[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

can't connect to home webserver

Posted on 2010-11-11
11
Medium Priority
?
583 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:Monis Monther
Monis Monther earned 500 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

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 1000 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 1000 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 500 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

830 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