PDA

View Full Version : Script Not Running Properly on Remote Server



sunshine1981
04-18-2006, 07:17 AM
Hello,
I have downloaded the EP-Dev Whois script v 2.22 from the site and installed it on my local machine , It is a great script and running there just fine.

But on the Remote Server , I have used the same setup and followed the same installation procedure , but the script is not running properly there.When i am entering the domain name for checking , it gives back the result.But, as I am clicking the VIEW WHOIS link,the information is not coming and the previous page is redirected whereas , the VIEW WEBSITE link is working.

I have checked on this issue , and my feeling is the prolem is occuring due to slow network speed , as the query to the register.com is timed out. Also , it can happen for improper server configuration , I use Apache ver 2.0 on my localhost where the script is running , in the remote server , apache is used , I am not quite sure about the version , but it is definitely lower than 2.

Plz help me with this issue , and give me a wayout from this problem.

Patrick
04-18-2006, 05:21 PM
The first thing I would check on would be the connection to the nameserver from the remote server.

You can use the nameserver validator in the control panel. Just specify the specific extension as .com in the nameserver validator and see what whois results are being returned.

If the whois results are successfully being returned from the nameserver (make sure that you actually check the nameserver output and don't just rely on the SUCCESS/FAIL result), then the problem may lay somewhere with the query caching. Try deleting everything in the cache folder. If that doesn't work, turn off query caching altogether to see if that works any better.

I am really shooting in the dark here as this is a strange problem that may even be the result of some mod_rewrite configuration or some security implementation on the server (such as mod_security). Could you either provide the URL here or if you prefer PM me the URL to the public script (remote server that is)?

Patrick
04-20-2006, 02:12 PM
I have looked at your website and it appears that your server isn't allowing outbound connections to port 43.

If you are not the administrator of your server, you will need to ask whoever your host is to open up port 43 for outbound connection to these whois servers. It is likely that they will open it for you if you mention you only need it for connecting to remote whois servers. Remember, this is simply requesting that they allow you to connect to external sites on port 43 (such as whois.crsnic.net:43) and NOT yourdomain.com:43 .

If you are the administrator of your server, you will need to open up outbound port 43 in whatever type of firewall software you use.

The reason the requests are taking so long and returning nothing is because they are timing out (no successful connection to the remote whois servers).