?
Solved

Can't use lynx to access certain domains?

Posted on 2014-02-26
12
Medium Priority
?
1,277 Views
Last Modified: 2014-03-22
Hi, from the command line on my Linux machine, I used lynx to access certain sites...

I can lynx to google.com, no problem, and I can also lynx to sites ending with ".gov.sg".

But for sites ending with ".org.sg", for example, "abc.org.sg", I can't lynx to "abc.org.sg" but I can lynx to "www.abc.org.sg".
Why is this so?
And for sites ending with just ".sg", for example, "abc.sg", I can't lynx to it even after appending "www." in front.
Is there like a config file somewhere that I need to edit or something?
Thanks.
0
Comment
Question by:killdurst
[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
  • 6
  • 3
  • 2
  • +1
12 Comments
 
LVL 11

Assisted Solution

by:Chris Sandrini
Chris Sandrini earned 249 total points
ID: 39891641
Hard to tell with the information you provided...

I can't lynx to "abc.org.sg"

What is that supposed to mean? Errors? nothing?

Can you browse with your browser on abc.org.sg? You can only lynx if the domain is leading to a webserver. If that is not configured than you wont be able to access.
0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 498 total points
ID: 39893387
Can you access the sites successfully in a browser other than lynx?
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 747 total points
ID: 39897876
because ie and firefox add www. and .com to whatever you type in address if first attempt chokes.
0
How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

 
LVL 1

Author Comment

by:killdurst
ID: 39899390
Apologies for this late reply, was away for quite awhile...

Below is the lynx error log when trying to access my site, for example, abc.sg...

Looking up abc.sg first
Looking up abc.sg
Making HTTP connection to abc.sg
Sending HTTP request.
HTTP request sent; waiting for response.
Retrying as HTTP0 request.
Looking up abc.sg
Making HTTP connection to abc.sg
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://abc.sg/'
Alert!: Unable to access document.

lynx: Can't access startfile

-----

I tried with the "www." in front of the URL too.
I can access the site in IE and Firefox, no problem.
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 747 total points
ID: 39899744
To me particular site shows very brief error message.
0
 
LVL 1

Author Comment

by:killdurst
ID: 39899755
Sorry, forgot to point out that abc.sg is not the actual URL to my site. I'm just using it as an example here. Didn't realise that that site really exists until I went there.

Yeah, so, my site ends with ".sg". I can access it on my normal web browsers, but not in lynx.
0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 498 total points
ID: 39899933
Can you post the actual URL you are trying?   I will make it much easier if we can test against the same site.
0
 
LVL 1

Author Comment

by:killdurst
ID: 39899939
The actual site is narpani.sg.
But I think the server administrator has limited access to the site to only IP addresses from Singapore.
But you can try and let me know, thanks!
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 747 total points
ID: 39901189
CURL says your server drops connections.
0
 
LVL 1

Author Comment

by:killdurst
ID: 39916853
Sorry for the holdup for this question. I'm going to ask the web server administrator to check on why the site can't be accessed. Will update you guys on the outcome.
0
 
LVL 1

Accepted Solution

by:
killdurst earned 0 total points
ID: 39935891
Hi guys, turns out that traffic to the site was blocked by iptables.
When I flushed the iptables, I can use lynx to access the site successfully.
I checked the site logs, took note of the local IP that lynx used to access the site, and added the IP to the list of IP addresses that is white listed in the iptables.
0
 
LVL 1

Author Closing Comment

by:killdurst
ID: 39947222
Don't mind if I select my own comment as the solution.
Hopefully anyone encountering a similar problem in the future will try my solution.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.:
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.
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

764 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