Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I enter my URL into the browser, it keeps pointing me to

The URL doesn't even work and my antivirus doesn't complain about it so I am not sure what is happening. I logged into my domain manager at godaddy and it says that the nameservers are pointing to:


and I am not sure where this came from either because my hosting is with lunarpages whose nameserver is


I tried looking into my .htaccess and it is blank. My index.php was hijacked with some malicious code so I removed it completely. Everything is supposed to be normal now but still some kind of a redirection is taking place and am not sure where this is happening. Any suggestions?

share|improve this question
Can you tell us what your domain is so we can troubleshoot for you? – Scott Lundberg Apr 1 '10 at 14:02
@Scott: Issues got resolved so removed the URL from here... Thanks for the help :) – Legend Apr 1 '10 at 14:22
up vote 1 down vote accepted

It looks like you may have fixed this?


<META   HTTP-EQUIV="Refresh"
        Content = "1;


I loaded this is an telnet session so there was no refresh, but if your IP address is, then you are no longer redirecting people to a bad site. If your IP address is not, then your DNS has been hacked.

Running an nslookup from here, I don't see that your nameserver is Did you let your domain expire? I have seen a domain get parked when it expires.

On another note, maybe these guys are at it again. You might call GoDaddy and double check.

share|improve this answer
Just tried it from a different computer and it works. Turns out that it was just on this computer... Thanks for the help... Marked as answer because of the link you provided. – Legend Apr 1 '10 at 14:21
Also, for anyone else looking for a solution, Scott was right... My DNS was hacked someone though I have no clue as to how this could have happened... – Legend Apr 1 '10 at 14:32

Create a new simple index.php page with basic information in it... ie. hello world. See if you still get redirected. This will at least narrow down what could be causing the problem.

It's probable that there is still some code hidden in the index.php page redirecting you, or, some dodgy iframe link. Check for iframes and base64_decode entries in the current index.php.

share|improve this answer
Thanks... I created a new file and it still redirects. This puzzles me even more! And also, I checked the old index.php and removed all the base64 entries... I actually replaced it with the index.php from the original package of the web application... – Legend Apr 1 '10 at 13:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.