Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running windows vista and recently installed xampp lite 1.7.3 to do some web development. I don't know if it is related to the install or something else, but now navigating to the page "www.pastebin.com" redirects me to my localhost.

The url redirects to "www.pastebin.com/xampp" on my local hosts.

I tried deleting my hosts file but that did not fix the probelm.

Any advice? ~Roy

share|improve this question

migrated from stackoverflow.com Nov 2 '10 at 8:54

This question came from our site for professional and enthusiast programmers.

add comment

4 Answers

Well that is strange. I'm assuming you're running windows - try running

ipconfig /flushdns

in a command prompt window.

share|improve this answer
    
"Successfully flushed the DNS Resolver Cache." but still no pastebin. –  Roy Oct 31 '10 at 18:26
add comment

I don't think it's related to xampp, I have a working xampp install running and I can navigate to pastebin.com. Your issue seems related to DNS resolution problems.

What is the result of the command:

nslookup pastebin.com

Are you behind a proxy?

Have you tried using a public DNS like Google's 8.8.8.8?

The redirect to pastebin.com/xampp could occur if pastebin.com resolves to 127.0.0.1.

share|improve this answer
add comment

Aside from possible DNS issues, you can also check for a hosts.txt file which may be overriding DNS resolution for those domains. I don't know the exact path where Vista would be looking for it, but previous versions of Windows kept it in the Windows system directory.

share|improve this answer
add comment

Did you try xampp/catalina_stop.bat at a CMD prompt to see if still redirects you after you stop the xampp service I believe this bat file should be available in the lite version. If the redirect goes away you at least know it is the xampp redirecting your url.

share|improve this answer
add comment

Your Answer

 
discard

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