LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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, 09: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



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 01:46 PM
Gnome Dictionary 2.8.0 toolbar applet: can't find host Kropotkin Fedora 6 04-15-2005 11:56 PM
can't find host.frm with MySQL wheelie_2000 Linux - Software 3 05-06-2004 05:44 PM
Postfix error: Client host rejected: cannot find your hostname. olegarr Linux - Networking 2 06-28-2003 03:38 PM
Help! Can't find host w PPP Connection? NightSky Slackware 4 06-16-2002 05:09 PM

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

All times are GMT -5. The time now is 07:19 PM.

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