Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: 2 hostnames assigned to by default

30 Jun 2012   #1

Windows 7 Professional 64bit SP1
2 hostnames assigned to by default

My OS: Windows 7 professional 64bit

Developing Drupal 6 sites locally using XAMPP 1.7.1.

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

Where "" comes from?

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.

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

How can I get rid of "" pointing to

I want only "http://localhost" to be mapped to


My System SpecsSystem Spec
30 Jun 2012   #2

Windows 7 Professional 64bit SP1

I found out what happened (unbelievable).

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


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

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

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

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 (localhost).

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

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

My System SpecsSystem Spec

 2 hostnames assigned to by default

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
svchost.exe (netsvcs) connects to weird hostnames - screenshot
So svchost.exe (netsvcs) connects to weird hostnames and I found out by chance, when I opened Resource monitor. What does this mean? My antivirus/firewall application seems to think there's nothing wrong. How can I be sure that there's nothing suspicious going on? Thank you
General Discussion
Ip already assigned to different device.
So i got the error saying that my computer was using the same IP address as another device in the house... Well i went into command prompt and did ipconfig /release ipconfig /renew and restarted my computer and that didn't work. Now when i use Ethernet my internet doesn't work but i connect to my...
Network & Sharing
Thumb assigned to USB 1.1
Somehow only one of my thumb drives has been assigned to a port/hub which is usb 1.1. I would like to get it unassigned from port 1/hub 6 and let it find an USB 2.0 port/hub. There are no warnings in device manager and the thumb drive always works, just slower than before. I have...
Hardware & Devices
USB's Drive Not assigned
Hi I am running Windows 7 32 bit Professional. When I plug a USB in the message that the device has installed appears. When I go to Printers and Devices the USB appears. When I go to Device Manager the Device appears as a uninstalled device and in Disk Management it has not been assigned a drive...
Hardware & Devices
Drive letters cannot be re-assigned
I had, amongst others, two drives labelled D: and E: on my PC and wished to exchange the drive letters. I got as far as temorarily renaming drive D: to X: but then had to divert my attention to other matters. Since drive D: was not actually in use this had no immediate consequence and I thought no...
Hardware & Devices
Win7 Won't Take Assigned DHCP IP
On my router, I have DHCP assign IPs to the various computers/devices on my network. For example, a laptop is, and my server is I've tried assigning to my Win7 box, but it keeps coming back with I recently reinstalled Windows7 (for a...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:18.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App