Router redirects to localhost Apache server on FireFox.

  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post April 13th, 2009, 9:47 pm

I have an Apache server I use for testing on my PC with a virtual host for 127.0.0.1:80 (localhost) and another for *:80 (public). For some reason sometimes when I'm just browsing the web with FireFox, and go to certain websites, for example "webloyalty.com" (don't ask me how I got there, it's some sort of scam website so I hear)... Then I'll see my exact localhost page printed out on my screen.

Does anybody know what that could possibly be? Did the website do some sort of trickery or is it some sort of block list on my router? It's happened to me on at least 3 or 4 random websites.
There's no place like 127.0.0.1, badass part is now it's ::1
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 13th, 2009, 9:47 pm

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post April 14th, 2009, 8:30 am

You really can't test the 'public' web site properly since there is no name resolution taking place. Did you edit the hosts file?

As far the redirects go, download, update & run anti malware from malwarebytes.org
How do you know when a politician is lying? His mouth is moving.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post April 14th, 2009, 8:49 am

Are you the one who had strange lines in their Apache log files that looked like requests for advertisement banners recently ? :scratchhead:

My first guess is that you've got an antivirus/firewall/hosts-file-entry/etc looping back trouble addresses, which normally wouldn't be something you notice happening because there's nothing setup to respond to requests on that address, but in this case since you're running Apache there, you notice it.
Strong with this one, the sudo is.
  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post April 15th, 2009, 8:03 am

Okay I figured it out. I used to have "Spybot S&D" installed and it entered that among 10,000 other addresses into my host file.

Thanks to the both of you.
There's no place like 127.0.0.1, badass part is now it's ::1

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 59 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.