LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2004, 10:26 AM   #1
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Rep: Reputation: 15
cURL can't find host


I've had a script that tests to make sure pages are up using cURL. I recently bought a new box and have been trying to put my script on there, but it's not finding the hosts that I want to test. Even weirder is that these hosts are behind my firewall and the entries are in the hosts file. I can use lynx to view the page with the hostname just fine. I can also use the IP address of the page I want, but I have several virtual hosts on that box. The other comparable box (same OS and packages installed on MDK 10) can use cURL without problems.

Thanks for any help
 
Old 11-18-2004, 10:34 AM   #2
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Original Poster
Rep: Reputation: 15
Never mind. I added the entry hostname.com instead of www.hostname.com, and now I can access www.hostname.com. Very strange, but at least it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find host santamaycry Linux - Hardware 4 08-18-2005 02:46 PM
Gnome Dictionary 2.8.0 toolbar applet: can't find host Kropotkin Fedora 6 04-16-2005 12:56 AM
can't find host.frm with MySQL wheelie_2000 Linux - Software 3 05-06-2004 06:44 PM
Postfix error: Client host rejected: cannot find your hostname. olegarr Linux - Networking 2 06-28-2003 04:38 PM
Help! Can't find host w PPP Connection? NightSky Slackware 4 06-16-2002 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration