var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
500 Can't connect to www.sitename.com:80 (Bad hostname 'www.sitename.com')
after moving to another server i moved from vps to another vps
this problem appeared in some pages in the site script
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
http://www.maishare.com 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
If you pm me more details then i can try to help you out.
may be there is a firewall issue.
please verify your firewall and make sure you have open udp port 53 to allow dns query
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:
It seems to be an issue with the nameservers. Please contact your host and confirm that nameservers are set properly for the domain.
Do not forget to configure your resolvers as well in /etc/resolv.conf
Last edited by BarackObama; 07-01-2009 at 07:38 AM.
█Ezeelogin█ Setup your Secure Linux SSH Gateway.
█|Manage & Administer Multiple Linux Servers Quickly & Securely.
By latheesan in forum Programming Discussion
Last Post: 08-12-2006, 05:02 AM
By desertking in forum Hosting Security and Technology
Last Post: 05-25-2006, 12:46 AM
By Joe777 in forum Hosting Security and Technology
Last Post: 02-08-2006, 04:15 PM
By Rui in forum Programming Discussion
Last Post: 04-26-2005, 07:59 AM
By the-muse in forum Web Hosting
Last Post: 07-31-2002, 11:08 AM