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)

472
votes
14answers
309k views

How to clear/flush the DNS cache in Google Chrome?

As you probably know Google Chrome has its own internal DNS cache. Is there a way to clear it without having to wait for the time out or close the browser?
3
votes
5answers
2k views

Editing the hosts file

I'm looking to edit the Windows TCP/IP hosts file (at c:\windows\system32\drivers\etc\hosts). I'm wondering, what is the best way to do this (on Windows XP)? Let's say that I want to redirect, say, ...
15
votes
6answers
39k 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
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 ...
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 ...
2
votes
3answers
25k 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 ...
4
votes
5answers
11k 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 ...
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 ...
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 ...
1
vote
2answers
5k views

How to change IP address to point to localhost?

A sandbox enviroment of a web app is reachable directly by an IP address: http://<my_ip_address> without a login name. Is there a way to make a virtual host in my local machine, named as ...
1
vote
2answers
27k views

How do I set an alias name in the hosts file?

I have a production server, on which three different application are running. I need to configure aliases for that server, according to which application needs to be accessed by the user. How do I ...
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? ...
3
votes
4answers
38k 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 ...
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 ...
1
vote
0answers
557 views

How to redirect a URL to a certain IP, as with /etc/hosts?

Someone on my shared server has messed with some setting such that gethostbyname('www.google.com') (PHP) gives me the IP for his website, rather than Google. I believe this can be done via the ...
1
vote
3answers
16k 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
5answers
337 views

How can I create shorter URLs to sites on my computer?

I was wondering if I could use my Windows 7 hosts file to create shorter URLs for sites? OR is there another way. I tried ones like the following but I'm guessing it only works with IP Addresses? ...
58
votes
8answers
110k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
18
votes
5answers
34k views

How can I get VirtualBox to play nicely with dual monitors?

I use VirtualBox to run a Ubuntu x64 guest under a Vista x64 host with a 19" and 15" monitor. I enable seamless mode in VirtualBox, but the windows don't actually move anywhere other than the ...
6
votes
1answer
9k views

What's the Windows equivalent of “/etc/hosts”? [duplicate]

Possible Duplicate: How do I block certain websites from being accessed through a browser? I can block my little brother from accessing a website on my Mac by adding the following line to ...
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
3answers
5k views

Adding a line into the hosts file, getting permission denied when using sudo - Mac

I'm trying to add a line into the hosts file on my Mac by executing a one line command on the terminal. I thought this would be easy using sudo, but it returns "permission denied" when I try to add ...
1
vote
3answers
440 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 ...
10
votes
1answer
2k views

Mac OS X “hosts” file, can I include other files with it?

I am working on some automation scripts to configure my network settings, hosts file contents, and /etc/resolver files, when accessing different networks I frequent between. There are some ...
5
votes
1answer
335 views

In your ssh config is it possible to have one host entry for multiple machines on the same domain

I'd like to be able to do something like Host * HostName *.mydomain.com ... So I can type something like ssh test ssh ci ssh dev Instead of having to type ssh test.mydomain.com ssh ...
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 ...
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 ...
3
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 ...
1
vote
1answer
634 views

How to make Ubuntu VM in VirtualBox accessible from the internet?

I'm trying to set up an Ubuntu server in VirtualBox. The host is Windows 7 x64. The guest is Ubuntu 11.10 x64. I want to make this server accessible from the internet. How can I do it?
4
votes
2answers
579 views

Windows 7 HOSTS files keeps reverting it's permission back to READ-ONLY

As a full-time Web Developer I am constantly adding fake domains to my Windows 7 HOSTS file to point a domain to my localhost web server that I develop on. I have even built a nice little PHP script ...
4
votes
2answers
6k views

How to reroute all traffic using hosts file?

Is there a way to redirect all traffic to one IP in the hosts file? If not, how else could i achieve this?
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 ...
3
votes
2answers
638 views

No network connection on Host or Guest simultaneously with Client Hyper-V + Windows 8

I create a virtual switch from the Hyper-V manager, then I set it as the Network adapter in the VM's settings. In subsequent attempts, this happens: The VM gets access to the internet, but the ...
3
votes
1answer
9k views

VirtualBox cannot ping Windows7 (host), Windows XP (guest)

I have successfully installed a Windows XP OS on VirtualBox with Windows 7 as host. The Windows XP guest is able to navigate on the Internet but I'm not able to ping the guest from the host and ...
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 ...
0
votes
2answers
382 views

Access web server on LAN using IP fail

I have a web server in my LAN with IP: 192.168.1.103, I can only access the web server from browser in this computer through http://localhost:8080, I cannot access it through 192.168.1.103:8080, nor ...
0
votes
2answers
31 views

How to connect a domain name to a host?

I have register a domain on internet like domain.com. I have a server on internet which have installed bind9 service on it. I have enter my name server on DNS tools on my provider domain name manager ...
0
votes
1answer
728 views

Redirect a url to another url

I need to redirect a url to another url. THe PC where this should be done has Linux but no server program such as Apache. When the user type www.mycomerp.com, it should redirect it to ...