2 hostnames assigned to 127.0.0.1 by default

drupaladdict

New member
Local time
8:28 PM
Messages
2
My OS: Windows 7 professional 64bit

Developing Drupal 6 sites locally using XAMPP 1.7.1.

I discovered localhost (127.0.0.1) is accessible either by typing: "http://localhost" or "http://kat.ph" (?). :eek:

Where "http://kat.ph" comes from? :huh:

I opened my "hosts" file on Windows and it is not listed there. I checked "httpd-vhosts.conf" out (\xampp\apache\conf\extra\httpd-vhosts.conf), but it is not there either.

I had this problem before restoring completely my system through recovery discs.

After restoring completely my Windows operating system, the issue is still there. :banghead:

I have made a computer scan using the Windows Malware Removal Tool, Eset Nod32 AV 5 (installed on my machine) and even Eset Nod32 online scanner. Result: no threats found.

It seems like two default hostnames have been assigned to 127.0.0.1.

How can I get rid of "http://kat.ph" pointing to 127.0.0.1? :cry:

I want only "http://localhost" to be mapped to 127.0.0.1. :cry:

Thanks,
Arnold.
 

My Computer My Computer

At a glance

Windows 7 Professional 64bit SP1
OS
Windows 7 Professional 64bit SP1
I found out what happened (unbelievable).
omg.png


This is the proof Western democracies are slowly
falling into China-like dictatorships while people
keep on sleeping.
sleep.png


</rant>
hrmph.png


I connected another PC to the Internet and...
guess what? The same problem arose.
omg.png


To cut a long story, my ISP (Telecom Italia) has
blocked some sites, they are not accessible at all.
devil.png


If you connect to those sites while a local server
is NOT running, you are presented with a "Page not found"
error.

But, if a local server like Apache is running on your machine
and you try to connect to a given censored site, you are
redirected to 127.0.0.1 (localhost).
very_angry.png


I have had the confirm of this by trying to connect to
a different censored site (kickasstorrents.com) while Apache
was running. Same behaviour as kat.ph (that is, I am redirected
to 127.0.0.1 (localhost).
mad.png


No virus, no bug, nothing like that. It's simple, old-fashioned,
tyrannical, iilegal, China-style CENSORSHIP
.
devil.png


Bye,
Arnold
big_smile.png
 

My Computer My Computer

At a glance

Windows 7 Professional 64bit SP1
OS
Windows 7 Professional 64bit SP1
Back
Top