Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006

    500 Can't connect to (Bad hostname '')

    after moving to another server i moved from vps to another vps

    this problem appeared in some pages in the site script

    "(500 Can't connect to (Bad hostname '') ) "
    it appears in a cron file which connect to the site to delete some files

    also when the script generate the links for users to download try to open the site and download any file then you'll see the error

    the strange that the site works fine for some hours then return gives this error

    and when i contacted the support of the script they said there's something wrong with the dns or resolvers

    i checked all setting triple times but no luck to found what's wrong

  2. #2
    Join Date
    Feb 2006

  3. #3
    Join Date
    Aug 2004
    may be there is a firewall issue.
    please verify your firewall and make sure you have open udp port 53 to allow dns query

  4. #4
    Join Date
    Feb 2008
    Houston, Texas, USA
    Put these two lines at the end of your /etc/hosts file and see if that helps.
    Also, can you copy/paste the content of:

    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe >

  5. #5
    Join Date
    Mar 2009
    Near You..
    It seems to be an issue with the nameservers. Please contact your host and confirm that nameservers are set properly for the domain.

  6. #6
    Join Date
    Apr 2009
    Do not forget to configure your resolvers as well in /etc/resolv.conf
    Last edited by BarackObama; 07-01-2009 at 07:38 AM.
    James B
    EzeeloginSetup your Secure Linux SSH Gateway.
    |Manage & Administer Multiple Linux Servers Quickly & Securely.

Similar Threads

  1. Can't connect to MySQL server on '' (10061)
    By latheesan in forum Programming Discussion
    Replies: 10
    Last Post: 08-12-2006, 05:02 AM
  2. Apache direct all pages to
    By desertking in forum Hosting Security and Technology
    Replies: 2
    Last Post: 05-25-2006, 12:46 AM
  3. Browsers hang for a few seconds at "Connecting to sitename.."
    By Joe777 in forum Hosting Security and Technology
    Replies: 6
    Last Post: 02-08-2006, 04:15 PM
  4. php -> how to easily have url.php?page=sitename sort of link?
    By Rui in forum Programming Discussion
    Replies: 4
    Last Post: 04-26-2005, 07:59 AM
  5. down with the spammer 'y o u r h o s t b i'
    By the-muse in forum Web Hosting
    Replies: 6
    Last Post: 07-31-2002, 11:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts