host is any machine or computer connected to a network and can offer information, resources, services and applications to users or other nodes in the network.

learn more… | top users | synonyms (1)

1
vote
3answers
451 views

How to simulate entries in HOSTS file with an IE 7 browser plugin

Is it possible in Internet Explorer 7 to simulate HOSTS file entries with a plugin? For example, can you tell IE to resolve all requests for xyz.com to a specific IP address? We have some QA testers ...
1
vote
4answers
11k views

Why doesn't my HOSTS file redirect DNS in Windows 7?

I've modified the HOSTS file on my Windows 7 machine in exactly the same manner as I have in the past on my Vista and XP machines; however it has had no effect. How do you redirect URLs in Windows 7 ...
0
votes
2answers
604 views

I've lost rights to edit files in folder etc

C:\Windows\System32\drivers\etc\hosts I'm updating the hosts file on regular basis but suddenly it stopped working and now asks for admin rights even though I am administrator. I've modified and ...
2
votes
1answer
1k views

How to block access to a website on Lucid Lynx?

I am trying to block a few websites on a lucid lynx, I tried editing /etc/hosts and that blocks access via url but the site still open if I enter the ip on the browser, how can I block ip access also? ...
2
votes
3answers
26k views

Why is “127.0.0.1 localhost” needed in HOSTS file?

I disabled all my network connections and deleted 127.0.0.1 localhost in HOSTS file but cannot find what had I broken by it. My IIS and MS SQL Server 2008 R2 continues to resolve localhost just fine ...
6
votes
5answers
501 views

ports and what they do

I am curious as to what a port number does. Are there specific port numbers for specific things? I know there is port 80 and I heard of 8000 in passing. I don't know why they are called that and ...
4
votes
5answers
12k views

Hosts File not working correctly

I'm having some issues with my hosts file. 127.0.0.1 localhost 127.0.0.1 whatever 127.0.0.1 sub.localhost 127.0.0.1 example.com localhost and whatever both work. However the others have weird ...
0
votes
1answer
200 views

Where to get the global /etc/hosts file with all domains?

It can be useful to quickly look up domain name of IP and find neighbour domains served by the same IP, also to find definitely busy (and probably spare) domain names. Also it's value will jump high ...
5
votes
5answers
7k views

HOSTS File Edit in Windows 7 Not Effective - Pinging URL Still Shows Original IP Address

I've edited my HOSTS file on my Windows 7 Ultimate PC to re-route a couple of URLs so that they point to 127.0.0.1, but after saving the file (and re-opening to verify the changes were written) and ...
9
votes
1answer
14k views

How to alias a hostname on Mac OSX

In a nutshell, I would like to be able to open a browser and open local.example.com but it actually loads http://localhost/path/to/example.com/ I am using Mac OSX 10.5, and not afraid to get my hands ...
4
votes
3answers
5k views

How to alias a hostname?

Is it possible to keep a network alias - without specifying the IP address in the hosts file? For instance, I have abcd.efgh.com but want abcd -> abcd.efgh.com so that ping and ssh work as they ...
3
votes
4answers
39k views

How to edit the hosts in Windows 7?

I would like to add an address to the hosts file. I am running Windows 7 (Hebrew edition), and I am the system administrator. I have tried the command notepad C:\Windows\System32\drivers\etc\hosts to ...
1
vote
1answer
14k views

DNS Client Event 1012: Error reading local hosts file

My notebook boots extreme slowly and shows loads of the following error in the event log: Error reading local hosts file Source: DNS Client Events EventID: 1012 The computer is quite new, I kind ...
37
votes
6answers
13k views

Don't add hostkey to known_hosts for SSH

I want to connect to a host via SSH but I don't want the hostname to be added to my ~/.ssh/known_hosts. How can I do that?
1
vote
2answers
1k views

Load local file in place of remote file (HTTP) address in Windows

I am trying to achieve something that you might typically use a hosts file for, but that isn't suitable here. I want a Windows PC to refer to a local file (I can serve it from a web server at ...
3
votes
3answers
3k views

hosts file for ip address

I would like to map ip address to specific localhost interfaces (e.g. 23.45.66.77 => 127.0.3.3). For named hosts I can use the hosts file. Naturally this doesn't work for IP address. This has to work ...
2
votes
3answers
7k views

ssh - no route to host

I have 3 machines (A, B and C) behind WLAN Router. From B i can make ssh to A and from A to B also. Ssh between C and A is also working (both destination, C->A and A->C). But when i try to connect B ...
15
votes
7answers
41k views

Using wildcards in names in Windows hosts file

Is there a way to create a wildcard domain in the Windows hosts file. I tried this xxx.xxx.xxx.xxx *.somedomain.com This does not work, is there maybe some other syntax I should use? I am ...
6
votes
3answers
3k views

Map localhost to IP address on Windows XP & Internet Explorer 7+?

I'm trying to map 'localhost' to an IP address elsewhere on the network, say '10.0.1.1' for example. I've tried editing my hosts file, changing the entry from: 127.0.0.1 localhost to 10.0.1.1 ...
3
votes
2answers
89 views

URL not responding on OS X, fine on other machine

For some reason I can't access anything on python.org. nslookup resolves the IP address, but no browser or curl command will fetch anything. It works fine on a VMWare Ubuntu virtual machine and on a ...
5
votes
3answers
17k views

Windows 7 stopped using the 'hosts' file for DNS resolution

I am running Windows 7 Home Premium 64-bit. Starting today, I noticed that DNS resolution is not reading my %SYSTEMROOT%\System32\drivers\etc\hosts file. I say this because I added two new entries to ...
2
votes
2answers
4k views

Is there a way to 'include' a separate file in /etc/hosts?

Is there any way to 'include' another file within the /etc/hosts file? Particularly I want to include a non-protected (-rw-rw-rw) file so I can easily edit it in something like TextMate without having ...
4
votes
4answers
3k views

Block website on Windows without host file

Is it possible to block website on Windows without modifying hosts files? The reason I do not want to use it is that users need administrator options to modify it. I need some easier way to block a ...
6
votes
2answers
2k views

How can I route a domain to my box at home?

I currently own my own domain, and have been using dyndns.com's "custom DNS" to allow me to redirect 'example.com' to my website at home, which is on a dynamic IP. I've now switched over to a VPS ...
1
vote
1answer
3k views

Is the hosts file ignored in windows if DNS Client service is running?

I've seen a number of articles about how to edit the hosts file in Windows 7, but it's all about how to open notepad as administrator, not the actual behavior of the dns lookups afterward. I've read ...
2
votes
3answers
17k views

How can I modify my hosts file? It is read-only and cannot be modified even as Adminstrator.

Does anyone know how to modify entries on the hosts file when it is marked as read-only? I have tried unchecking the Read-only tick box, but I get an Access is Denied error, and I'm running as the ...
0
votes
0answers
174 views

Hosts entry for a fileserver don't work, why? [duplicate]

I have several entries in my hosts file (c:\windows\system32\drivers\etc\hosts) for some servers with MS SQL Server. Does this work for fileservers (a first quick tests failed, Why)? Edit: Access ...
0
votes
1answer
742 views

is using Hosts for resolving a sql-server more performant?

we have a legacy application which uses a access.mdb with hundreds of ODBC-connected tables on a sql-server. the access.mdb contains nothing else than these odbc-connections. Now we consider to use a ...
4
votes
4answers
9k views

DNS lookup fails but nslookup works

I have DNS lookup problems on my internal network. I'm using an internal DNS server with the IP 192.168.1.254. If I use nslookup everything works like it should: >hawk:~ user$ nslookup ...
6
votes
5answers
2k views

Viable to virtualize my laptop?

I have a laptop that I'd like to run multiple operating systems on, at the same time. Specifically, I'd like to be able to boot up a Windows 7, if needed, a Windows XP, if needed, and a Ubuntu ...
4
votes
3answers
9k views

Hostname redirection using Hosts file

We can use C:\WINDOWS\system32\drivers\etc\hosts file to map hostname with IP addresses like this 127.0.0.1 localhost But is it possible to assign one hostname to another like this? ...
1
vote
4answers
749 views

pings for unknown hosts ping 8.15.7.100

Running Ubuntu 9.04. I can ping hosts all day long but when I try to ping a host that doesn't exist, it instead sends pings to 8.15.7.100, which turns in to packet loss, but I'd prefer it if it told ...
1
vote
10answers
12k views

Windows XP - Hosts file has been tampered with

My Windows XP hosts file has been tampered with, and I can't fix it. This is particularly bad because whatever tampered with the hosts file left these: ... 188.124.7.190 www.google.com 188.124.7.190 ...
3
votes
1answer
2k views

Redirect one domain to other using hosts file or similar

Usually, the syntax in the /etc/hosts file is IP hostname alias1 alias2 but I want to make something like SERVER SERVER2 but I don't want to specify the SERVER IP in the file, only the host ...
3
votes
2answers
1k views

How to route somehost to other host with some port on linux?

Say I want to route all requests to google.com to localhost:333 , how to do so?
2
votes
4answers
3k views

Redirect browser to different host and port

Background, Running windows 7, FF3.5, and am an admin. I recieve emails from an internal company service that has links. The problem is the links don't work from my office. If the resource is ...
0
votes
1answer
4k views

How to redirect a domain to another one on my machine only?

I want all requests from my machine to example.com be redirected to example.com.edgesuite.net I tried adding the following line to the hosts file both on Windows and Linux ...
6
votes
2answers
3k views

Should I restart a service or a interface to apply Windows' hosts configuration file changes?

After I change the file %SystemRoot%\system32\drivers\etc\hosts Should I restart something?
3
votes
1answer
2k views

Using Proxy Server to act as hosts file

I am trying to see if I can have a specific Hosts file that only a Proxy Server application on my machine will use while the remainder of the machine uses the normal proxy server. For example, I want ...
3
votes
2answers
24k views

changing hosts file on snow leopard

I need to add an entry to my hosts file on Snow Leopard. I could edit the hosts file with root user enabled, but in the system doesn't let me to save this file saying that I don't have permissions to ...
0
votes
1answer
275 views

etc/hosts question

Sometimes when I'm reading news I click on a headline and it takes me to telegraph.co.uk news which I don't like to read, so I tried to make my hosts file redirect to localhost. So in my hosts file I ...
1
vote
1answer
540 views

Unable to connect host from guest VPC

My host is WinXP and my guest (on VPC 2007) is also WinXP. Both have SP2. I am unable to ping either from one another. However, I am able to connect to the Internet from the guest. My intention is to ...
3
votes
5answers
8k views

Possible reasons WINDOWS\system32\drivers\etc\hosts is not working (appart from the obvious)

Here's my C:\WINDOWS\system32\drivers\etc\hosts file: 127.0.0.1 localhost 192.168.100.1 router testing it: C:\>ping router Ping request could not find host router. Please check ...
4
votes
3answers
3k views

hosts file and unblocked subdomains

I modified hosts file to block google.com and its subdomains but it blocks only the main domain name. It does not block the subdomains. Windows 7 Starter 127.0.0.1 google.com It blocks google.com ...
0
votes
2answers
1k views

How do I unprotect the hosts file?

I know that to edit the hosts file you need to launch a text editor as administrator, but that's cumbersome. I am the only person that uses my computer and I edit the hosts file quite frequently ...
1
vote
1answer
3k views

Hidden Global Proxy Settings?

I have a problem with proxies: I can not turn off proxy settings completely either in Internet Explorer 7, Firefox 3 or Firefox 3.5 I used to use FoxyProxy for switching between proxies in firefox ...
0
votes
5answers
441 views

Trasferring files from Host A to Host B without downloading on hard drive and simple ftp?

I have a website to move from One Host to another .. for example : from bluehost to hostgator ... i have made my website zip which is 2 gb .. i want to know if there is any software or something ...
1
vote
2answers
1k views

Global hosts in /etc/hosts file?

I have a Mac OS X Snow Leopard Server as my network router. Is it possible to set a global host in its /etc/hosts file, like: 127.0.0.1 www.foo.bar that redirects all requests (e.g. browsing ...
0
votes
4answers
121 views

My websites on the same host seem to be down for me only… how can this happen?

I have a shared host in the States (I'm based in Australia) that is inaccessible from our internet (up to 3 computers using our ISP connection are receiving Problem loading page in FireFox). Everyone ...
1
vote
5answers
862 views

How can I tell if I am SSH'd in somwhere already?

Is there an easy way to tell if I am SSH'd in somewhere without typing 'exit'? Like, if I am currently sitting at computer A and I SSH'd to computer B and then from B to computer C, is there a way I ...