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)

2
votes
1answer
350 views

How can I prevent users from circumventing the Windows hosts file?

I realized Windows hosts entries can easiliy be circumvented by just setting a system proxy or use a webproxy like hide my ass. How can prevent my kids from circumventing my hosts file that blocks ...
4
votes
2answers
2k views

Quickly edit / change hosts file on Windows

I routinely need to add / remove / update hosts on a Windows 7 machine to add links to staging / test servers. On Mac I can use ghosts with the syntax ghost add staging-server.local ...
3
votes
2answers
344 views

Windows - hosts file resets without my interference

I have a pretty long list of time-wasting sites in the hosts file and it is working just fine, however I'm experiencing a very strange behavior - every day or two (my PC turns on automatically every ...
1
vote
1answer
638 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?
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 ...
4
votes
4answers
21k views

Permissions for editing hosts file on Windows 7 Home Edition

I am running Windows 7 Home Edition on my laptop. I also have an instance of Apache Server running and am trying to create a virtual directory. I have updated apache's vhost-httpd file and now need ...
1
vote
1answer
1k views

nsswitch.conf - cannot modify (read-only)

I am attempting to modify nsswitch.conf from: hosts: files dns to hosts: dns files But, it is read-only. I have tried using: sudo vi /etc/nsswitch.conf And even with :w! It is ...
3
votes
2answers
233 views

How can I use the computer name in this situation?

I have the following scenario: Windows 7 64-bit, hosting an XP Mode, on the host machine there is Oracle 10g installed. On the XP Mode there is Oracle Client installed. From XP Mode I am able to ...
5
votes
1answer
349 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 ...
1
vote
1answer
179 views

Chrome cannot find the host entry for website

When I try to load a website, I get the following error in Chrome, Chrome could not find img.mzsites.com But on another computer, the site has no problems loading. I have tried ipconfig /flushdns, ...
1
vote
1answer
858 views

My facebook redirect to localhost

I am in strange condition right now. I am not able to access facebook. Once I open the facebook it just loads the localhost. I know we can set it from host file. But just have a look at my host ...
0
votes
1answer
282 views

hostname and hostname -s differ

My /etc/hostname has: name.domain.net Previously, it was: old.domain2.net If I do hostame I get name.domain.net. But doing hostname -s returns old. According to the man page: -s, --short ...
3
votes
2answers
2k views

Can I chown /etc/hosts so my user owns it so I can edit it without sudo?

It's a bit inconvenient to have to sudo emacs /etc/hosts whenever I want to make a change to my hosts file, especially since I don't use a Terminal-based editor primarily. Could I change the ownership ...
0
votes
1answer
557 views

hosts file ignored

This is very strange issue. I'm on Windows XP. I have tried to put 41.41.41.41 facebook.com 41.41.41.41 www.facebook.com into C:\WINDOWS\system32\drivers\etc/hosts. When I tried to save the file, ...
1
vote
3answers
615 views

What unresolvable IP address should I use to block adverts?

I don't want to depend solely on in-browser ad blockers. I therefore created my own block list of advertisers' domains and pointed them all to a 0.0.0.0 IP address. I now started a project and need ...
0
votes
1answer
87 views

How can I get other computers to see my new host name?

I recently set up my VM to have a machine name like this : sudo /bin/hostname jax sudo dhclient However, my host machine cannot ping "jax" ? I would assume this is all thats needed.... am i ...
5
votes
1answer
1k views

How to list all DNS names pointing to an IP?

I know – for example – that there are two DNS names for an IP. However nslookup ip only returns one record. How do I get all the records for an IP?
1
vote
0answers
45 views

Software for editing HOSTS file in windows [duplicate]

Possible Duplicate: Editing the HOSTS file Is there a software which allow you to nicely edit hosts file in Windows? For instance, it should allow searching, and will display information in ...
1
vote
1answer
843 views

Hosts file, facebook and SettingsModifier: Win32/PossibleHostsFileHijack

I'm one of those people that needs a bit of protection from their selves at work, so I wanted to add facebook.com to my hosts file. But something strange happens. The moment I add it Microsoft ...
1
vote
3answers
1k views

host(1) command only uses first nameserver?

According to the man page, host ought to query "the server or servers listed in /etc/resolv.conf," but it only uses the first entry in that file: thefourthtower:$cat /etc/resolv.conf nameserver ...
3
votes
2answers
795 views

How can I rapidly switch hosts?

I'm in the process of migrating a forum setup from one version of the software on one machine (older shared Windows host) to a new VPS (Windows Server 2008). To install the software, I used my hosts ...
2
votes
4answers
3k views

How do I refresh and clear all entries in hosts file on Windows Vista and 7?

A website is not opening on my PC which was accessible a week ago. I don't know how to delete the wrong entries in the hosts files. Is it possible to clear all the entries in the hosts file? I'm ...
0
votes
2answers
928 views

IEEE 802.1Q (VLANs): Can a station/host be configured as trunk?

I know that IEEE 802.1Q compliant switches can have their ports configured as access (just accept traffic from one specific VLAN) or trunk (carry traffic from more than one VLAN, it must be specified ...
1
vote
1answer
928 views

Joomla cannot connect to MySQL using localhost

I have a fresh Joomla installation in a Mac OS X and I have configured a database to connect the application to. By default, Joomla uses localhost to connect (variable $host), but it does not work. ...
0
votes
1answer
673 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
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
2answers
5k 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
4k 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
250 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
409 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
705 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
4k 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
8k 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
345 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
4k 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
11k 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
980 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
4k 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
332 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 ...
493
votes
14answers
322k 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
745 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
95 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
3k 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
352 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
450 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 ...