LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can access my website on the interner (http://www.linuxquestions.org/questions/linux-networking-3/can-access-my-website-on-the-interner-4175446610/)

ngugi 01-21-2013 11:11 AM

Can access my website on the interner
 
Hi,

I have a configured a site and hosted in Ubuntu 11.10 URL is www.asalgis.go.ke but I cant access it using using the normal ISP internet available in the LAN but strangely if I use a mobile phone I can access the website very well.

What could be the problem here.

Snark1994 01-21-2013 12:24 PM

I can see it fine (it says "ASAL GIS is an open source platform that easily facilitates..." etc.) What do you get in your browser? A blank page? Or it can't find the website at all?

How recently did you register the domain? You often have to wait 24hrs or so until the DNS servers are updated.

NyteOwl 01-21-2013 12:59 PM

It works fine here as well. Does the LAN use any kind of content/IP filters?

ngugi 01-21-2013 02:34 PM

Thanks for your replies.

Yes the website is "ASAL GIS..." Its good that its accessible but am not able to access in my LAN which is different from the LAN where the web site is running. Here are some more details about the the configuration of the website maybe they will shade some light somewhere.

The website runs on Ubuntu 11.10 as a virtual box and they both sit behing Cyberoam firewall. A virtual host has been created in the firewall NATTING the public and private it and also a firewall rule of LAN to WAN has been created.

When I ping the website no connection is lost meaning that the public IP domain is active. The website was created around mid December.

Back to the website when I try to download or access any data I get the following error
“error at /proxy/ [Errno 113] No route to host Request Method: GET Request URL:...”

eantoranz 01-21-2013 07:32 PM

Well, you are using a proxy so the problem should on the proxy and not your box. What happens if you try using wget )without a proxy) or even telnet to port 80, for example? If you get a connection it means the apache service (or whatever you are running) is working fine:

Code:

$ telnet www.google.com 80
Trying 74.125.229.180...
Connected to www.google.com.
Escape character is '^]'.
GET http://www.google.com HTTP/1.0

HTTP/1.0 302 Found
Location: http://www.google.com.co/
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=4cfd66b743e9e274:FF=0:TM=1358818307:LM=1358818307:S=A3pne9IOV0_s7SzF; expires=Thu, 22-Jan-2015 01:31:47 GMT; path=/; domain=.google.com
Set-Cookie: NID=67=qn3rT_2YULB94YlClW1-z8-HpzYQ7Epl8XTo2UJOdWd0UeBDUaDksiNqQH3lVAe8MJWhv0m_sOWjRxwpFiwiRXdY4u7Mdd0tZOo5idltIAx4wjiI9B0GZatUSOCd_0BC; expires=Wed, 24-Jul-2013 01:31:47 GMT; path=/; domain=.google.com; HttpOnly
P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
Date: Tue, 22 Jan 2013 01:31:47 GMT
Server: gws
Content-Length: 222
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.com.co/">here</A>.
</BODY></HTML>
Connection closed by foreign host.

When you see Escape character is '^]'., that means the service is OK.

ngugi 01-21-2013 11:08 PM

Telnet and Wget are working correctly. By the way if use www.asalgis.go.ke or the public IP within the LAN it works very well, no error is displaying in either uploading or downloading the data.

eantoranz 01-22-2013 06:55 AM

So, the problem is when connecting through proxy? Sounds like the problem is on the proxy.

ngugi 01-22-2013 07:47 AM

Hallo,

I have contacted the ISP and it seems something was blocking it now the wesbite is accessible however. I cant access the website from within our LAN but from outside its accessible. When we ping 41.76.170.66 (public IP for www.asalgis.go.ke ) all the 4 packets are lost and it says reply from 172.16.86.6 TTL Expired in Transit.


All times are GMT -5. The time now is 03:08 PM.