You are not logged in.

#1 2010-11-07 01:43:23

HunterMorrell
Member
Registered: 2010-11-05
Posts: 17

[SOLVED] Connectivity Problems

Earlier, I finished setting up LAMP and tried to test out my personal domain. I have already port-forwarded to port 80 (I used this domain back when I was still using Ubuntu, so I know it works), but whenever I attempt to access the website, it times out, despite localhost working. I tried to ping my router and got this:

[hunter@hunter ~]$ ping 192.168.1.45
PING 192.168.1.45 (192.168.1.45) 56(84) bytes of data.
From 192.168.1.103 icmp_seq=2 Destination Host Unreachable
From 192.168.1.103 icmp_seq=3 Destination Host Unreachable
From 192.168.1.103 icmp_seq=4 Destination Host Unreachable
From 192.168.1.103 icmp_seq=6 Destination Host Unreachable
From 192.168.1.103 icmp_seq=7 Destination Host Unreachable
From 192.168.1.103 icmp_seq=8 Destination Host Unreachable
From 192.168.1.103 icmp_seq=10 Destination Host Unreachable
. . .

It just continues on sucessively.

I have no idea what's going on, and no idea on how to get my website up and running. From the ping, I'm guessing I'm not connecting to the router in some way, which is odd considering I'm able to access the internet. Any help would be greatly appreciated.

Last edited by HunterMorrell (2010-11-07 17:38:35)

Offline

#2 2010-11-07 04:05:33

HunterMorrell
Member
Registered: 2010-11-05
Posts: 17

Re: [SOLVED] Connectivity Problems

Well, port 80 is definitely not being blocked. Still no idea as to what the cause is

Offline

#3 2010-11-07 06:14:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,692

Re: [SOLVED] Connectivity Problems

Can you post the output of
ifconfig
route

and
route -n


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2010-11-07 15:56:15

HunterMorrell
Member
Registered: 2010-11-05
Posts: 17

Re: [SOLVED] Connectivity Problems

[hunter@hunter ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:6B:AF:9E:19 
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::209:6bff:feaf:9e19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:300626 errors:0 dropped:0 overruns:0 frame:0
          TX packets:244578 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:329807736 (314.5 Mb)  TX bytes:35250303 (33.6 Mb)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6556 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6556 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:879594 (858.9 Kb)  TX bytes:879594 (858.9 Kb)

[hunter@hunter ~]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     202    0        0 eth0
default         192.168.1.1     0.0.0.0         UG    202    0        0 eth0
[hunter@hunter ~]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     202    0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    202    0        0 eth0

Offline

#5 2010-11-07 17:38:06

HunterMorrell
Member
Registered: 2010-11-05
Posts: 17

Re: [SOLVED] Connectivity Problems

*facepalms* Newbie mistake. On a hunch, I went back and added my ip address and the domain name to /etc/hosts and then checked the webpage. It worked. So consider this solved tongue

Offline

Board footer

Powered by FluxBB