All Questions
Tagged with hosts-file windows
17 questions
0
votes
0
answers
40
views
ping returns IP from hosts file but not nslookup in windows 10 [duplicate]
We host our application in two data centers. During a production update, we point the customer traffic to datacenter1 and test the update by adding datacenter2 IP in our hosts file, where the update ...
1
vote
0
answers
220
views
Is there any IETF / RFC standard defined for hosts file encoding?
While going through the accepted answer for hosts file ignored, how to troubleshoot?, I observed the statement "The hosts file should encoded in ANSI or UTF-8 without BOM". As I personally faced ...
2
votes
2
answers
7k
views
Windows 10 Hosts file alias not working with file share
I am working on a project that requires that I have an alias in my hosts file that maps \\share to localhost. I added this line "127.0.0.1 localhost share" to my hosts file, and when I ...
1
vote
1
answer
5k
views
Server impersonation - Target account name is incorrect
I am setting up a test Windows 7 workstation in my environment, which I have named DevWS1. This machine needs to be able to connect to development data while looking like it's in the live side of ...
2
votes
1
answer
4k
views
KMS activation without DNS
I'm loading a small sized isolated lab with Windows 7 and Office 2013. There are enough hosts to use KMS. In addition the lab does not have DNS as a service available, every host will use a static ...
-3
votes
1
answer
82
views
Hosts file to block a website [closed]
I have seen a blog saying that we can block some websites using our hosts file. I have tried the same (shown below), but failed.
Entry added in host file as below:
127.0.0.1 www.google.com
I ...
2
votes
1
answer
2k
views
Host name resolution order - Changes to SYSTEM.INI not reflecting
I added the below lines to my system.ini file to ensure that all host name resolution will happen through hosts file only and all other methods are ignored.
[DNS]
HostsPriority=1
But, the change ...
1
vote
2
answers
782
views
HOSTS ignored when disconnected [closed]
Problem
I’m seeing a strange and extremely frustrating problem.
Any system that is not connect to the Internet (Windows 7 shows the no Internet access icon because it cannot constantly ping ...
0
votes
1
answer
6k
views
Windows redirect by port? [duplicate]
Possible Duplicate:
Forward Incoming Traffic with Windows hosts file?
In Windows you can redirect traffic from a host by using the hosts file.
C:\Windows\System32\drivers\etc\hosts
example
127....
2
votes
2
answers
625
views
Not obeying changes to HOSTS file
Suppose example.com points to 1.2.3.4 IP address.
I want to be able to put something.example.com in my Windows hosts file so that it goes to another IP address. I've defined it as such in the hosts ...
2
votes
2
answers
7k
views
How to use the hosts file to make google.com resolve to bing.com on a single machine
I am having a little trouble understanding how to manipulate the hosts file. I am using IIS 7.5 and Windows Server 2008 RC2.
How can I make any requests from my machine to google.com resolve to bing....
0
votes
2
answers
114
views
Virtualhosts - best way of dealing with it?
I'm competent at the basics of Apache, PHP and virtual hosting but have a question about virtual hosting.
As far as I'm aware, HOSTS files can only be in one of the following locations:
C:/Windows/...
2
votes
2
answers
42k
views
Windows domain authentication using HOST files
I am currently setting up remote office PCs running Windows 7 Professional to authenticate back to a domain controller running Windows 2008 R2 in the headquarters. Is it possible to simply define the ...
37
votes
4
answers
72k
views
How do I add IPv6 address into System32\drivers\etc\hosts?
There is already by default, and it works (Win 7):
::1 localhost
This also works (testing with ping):
::1 hosta
But when I'm trying to add something non-loopback, it doesn'...
1
vote
5
answers
253
views
How to monitor a program's Internet activities?
I'm trying to figure out how a program communicates with its website. I've edited my hosts file so that their website points to my computer and set up a script that logs every time it's accessed.
But ...
0
votes
3
answers
684
views
Apache2 virtual host in a VM, trouble accessing from host machine
I installed a fresh TurnKey LAMP VM (Ubuntu, Apache2, PHP 5.2, the usual) in VirtualBox (latest). I configured networking so it has an IP of 192.168.1.111 on the bridged network. Then I logged into ...
42
votes
10
answers
279k
views
Point multiple IP addresses to a single host name
In Windows System, there is this file at C:\WINDOWS\system32\drivers\etc\hosts. This file allows us to default a specific IP address to a host name.
The issue now is whether I can set multiple IP ...