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)

0
votes
1answer
622 views

Automated Windows host -> IP resolution over subnet on Mac

I have a few Windows computers and two Mac computers all on the same router. The Windows computers can find each other by hostname just fine, so for example a UNC path of \\HOSTNAME\SHARE would ...
4
votes
2answers
5k 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
2answers
4k views

Mac has IP address, can connect to router but can't connect outside

Weird problem, my MacBook can't connect anywhere right now! The router works, it gets an IP, it can log into to the router but it can't resolve anything! The router works as I connected another ...
1
vote
1answer
1k views

How to access Guest (Windows XP) Internet from Host (Windows 7) in VMware Workstation?

I am using a 3G USB modem in Windows 7 64-bit. For some odd reason, it gives me a BSOD whenever I try to connect it. What I did is installed Windows XP SP2, in VMware and now I can use it inside the ...
4
votes
3answers
3k views

Resolving UNC path using hosts file

I'm having a problem accessing a UNC path in Windows Server 2008 using the hosts file. My hosts file looks like: 10.x.x.x server_1 When trying to access the unc path: This works: ...
1
vote
1answer
244 views

Fixing DNS on Ubuntu server

I've got a server that is currently running as servername, but I need it to be servername.domain.com (the IP already resolves to servername.domain.com), and I currently have: 0.0.0.0 ...
2
votes
1answer
368 views

How to make a website inaccessible from Chrome?

Using the Windows OS's host file to redirect an URL to an invalid one, e.g. 127.0.0.1, will help me to stop that URL in Internet Explorer and Firefox but not in Google Chrome. How can I do that in ...
1
vote
2answers
625 views

What tools exist to override an IP from a DNS lookup per browser?

Up front: the per browser (or per process, if you will) part is the important part here. I'm well aware of the /etc/hosts(and its Windows counterpart), but would like to avoid this system-global ...
2
votes
1answer
3k views

Why in Windows 'localhost' connection is reset while 127.0.0.1 and other specified in 'hosts' file work?

I want to test some HTTP server on localhost address under Windows (XP) and I get strange behaviour: when I enter http://localhost/ in my browser I get connection reset error, while putting ...
1
vote
10answers
6k views

Corporate firewall blocking localhost/127.0.0.1

Is there some way I can access this without having it go through the corporate firewall at work? I'd like to set up a quick little production (WAMP) environment before moving things to the final ...
3
votes
2answers
1k views

How can I overwrite the hosts file in Windows 7?

I can't overwrite my hosts file in Windows 7. I open Notepad as an administrator and open the hosts file (C:\Windows\System32\drivers\etc) as an administrator. 96.44.181.245 www.Google.com has ...
1
vote
1answer
337 views

VirtualBox Apache needs to be accessed from the Ubuntu host

I have an Ubuntu 10.10 host on which I installed VirtualBox VM. In VirtualBox, I have installed two other Ubuntu machines mainly with the same configuration. I am trying to achieve a High Availability ...
0
votes
2answers
3k views

How do I access internal network virtual hosts in Apache?

This might be a stupid question but I'm tired and can't find a solution. I currently have an Apache Web Server running on Ubuntu 10.4 and I use a DynDNS service to make them accessible to 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 ...
2
votes
1answer
9k views

How can I map multiple hostnames to localhost?

I'm testing an application on my PC, this application connects to various servers so I need to mimic that on my box. How can I map hostnames to 127.0.0.1? localhost already refers to 127.0.0.1, but ...
0
votes
1answer
805 views

How do I point my Domain Name to my host on my computer (it's Xampp)

How would I point my domain name registered with GoDaddy to my host on my computer. I'm using Xampp as my server. I'm really confused, I've pointed other domain names to other hosts on the internet ...
2
votes
2answers
3k views

Windows Script Host Error Dialog Popups in the morning

A few days ago when I resume my computer from sleep mode in the mornings I would see an error dialog from "Windows Script Host" that read: "There is no script engine for file extension ".vbs". I am ...
0
votes
2answers
328 views

Modifying .profile for SSH rules

I wish to create the following script in .profile, so each SSH session would go directly into its place: Check the specified host (user@host). If host = host1 -- cd /var/www/site1 etc. Help! :)
2
votes
1answer
3k views

Ubuntu 10.10 + apache: vhost not working

At home I have an Ubuntu 10.10 desktop system for development purpose. For some reason I can't get virtual hosting working. At work I have an almost similar setup (completely done by me) with Apache ...
384
votes
13answers
237k 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?
1
vote
1answer
736 views

Why can't I connect to my ip?

What I have is: Windows Vista Xaamp Server Huawei 3G USB modem The problem is that I can't connect to my IP, although I can connect to "127.0.0.1", I've even disabled the firewall and still can't ...
1
vote
1answer
92 views

How do OS's handle /etc/hosts algorithmically?

I have a huge /etc/hosts file with 18,000 lines. I use it to block adservers and such. My browsing performance seems to be fine, but I wonder if there's some size at which I'll start slowing myself ...
6
votes
2answers
2k views

Hosts file location in Windows 7

I know the hosts file should be under C:\Windows\System32\drivers\etc\ But for some reason, I don't have the etc directory there at all. In fact, I searched for "hosts" under C:\Windows and found ...
0
votes
1answer
342 views

Using a proxy server as a replacement for hosts file

When developing a website, it's often handy to map the domain to 'localhost' in your hosts file so you can use the real url in a browser. However, switching between local and public hosts using the ...
1
vote
3answers
413 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
9k 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
586 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
22k 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
461 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 ...
3
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 ...
0
votes
1answer
190 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
6k 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 ...
8
votes
1answer
12k 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
4k 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 ...
2
votes
4answers
34k 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 ...
0
votes
1answer
12k 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 ...
30
votes
5answers
10k 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
967 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
6k 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 ...
10
votes
6answers
33k 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
88 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
15k 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
3k 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 ...
3
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 ...
1
vote
3answers
15k 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 ...