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
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 ...
1
vote
4answers
750 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
1answer
412 views

Why won't Windows hosts file block websites?

I'm trying to block a website because someone keeps downloading crap from this website and it's spyware. I tell them it's spyware and they download it anyway. So I'm trying to block it via the hosts ...
1
vote
2answers
354 views

If localhost is called 'localhost', why is the gateway not called 'gateway'? [closed]

If you run server services in your computer, it is very easy to configure the same computer to use it: just point the client to localhost. Now the gateway often runs your DHCP, DNS, proxy, firewall, ...
1
vote
2answers
724 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 ...
1
vote
1answer
746 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
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
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 ...
1
vote
2answers
2k views

Cleared all of my cache but still seeing old website

I have a website setup on a free host called 00webhost. i was previously using a free web host called wink.s. i have a .com domain purchased from 1and1. i had wink.ws's dns servers pointed to the ...
1
vote
1answer
124 views

Local Network web site access with multiple computers

I have a local site running through my server computer located at 192.168.2.111 (port 80) on my network. I'm currently running the site using XAMPP. In order for the site to be accessed, I have ...
1
vote
2answers
478 views

I can't connect to school server from within school network

At our school we have a server where we can access documents and similar. Accessing it is no problem if I connect to the network via VPN connection. But if I connect to the network via the WLAN of the ...
1
vote
2answers
1k views

how to get the name of current host?

This may be a pretty dump question! So how do I get the host name so that I can ssh into my machine (which is a Mac)? For instance : ssh myusername@<hostname> Is there any command to find out ...
1
vote
1answer
453 views

Weird Terminal error when opening TextEdit.app

I was trying to edit my host file with the command sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts I got the following error: Sending synchronize message <dictionary: ...
1
vote
3answers
4k views

Custom host file for Firefox

Instead of changing my host file I'd like Firefox to think my domain is on my own server while my other browser uses the real IP address. I used to edit my host files but that forces both browsers to ...
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 ...
1
vote
3answers
2k 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 ...
1
vote
1answer
33 views

configure router for DNS queries for specific domain

I want to configure my Netgear N-150 router so that it answers DNS queries within the LAN. This is in context of running different kinds of servers: e-mail, news, web or VoIP from home. Nothing is ...
1
vote
1answer
176 views

Difference between DNS and /etc/hosts in name resolving during an HTTPS request

My question is: what is the difference between DNS and the static resolution method based on /etc/hosts in name resolving during an HTTPS connection? In order to connect to a site using https the ...
1
vote
1answer
2k views

Missing Host File - Mac OS X

I've looked through the internet and even saw a similair posted question, but didn't really give the answer I was looking for, so I'll see if I can get any better luck. I recently had to modify my ...
1
vote
4answers
60 views

Blocking a site from myself and redirecting

I've tried editing "C:\Windows\System32\Drivers\etc\hosts" by adding: 127.0.0.1 websitetoblock.com But I can still access the website. Ideally I want to be redirected to a URL of my choice if I try ...
1
vote
1answer
632 views

/etc/hosts deleted on restart

Since yesterday, my /etc/hosts file disappears "magically" on restart. When I recreate it via sudo vim hosts everything works, but it's gone once I restart. I'm on Mac OSX 10.6.8, running MAMP 1.9.4 ...
1
vote
1answer
182 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
899 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 ...
1
vote
1answer
251 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 ...
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 ...
1
vote
3answers
455 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
1answer
15k 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 ...
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 ...
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 ...
1
vote
1answer
16 views

Host different pages all together [duplicate]

Let's say I have got 5 websites in the different hostings each. I want to create a page for each of them but host them all together under a subdomain of ONE hosting, For example. www.site1.com -> At ...
1
vote
0answers
268 views

Windows 8.1 Single Language: Access is denied (hosts file and registry)

Just switched from windows 7 to 8.1 (New machine scanned for viruses, Antivirus temporary disabled) and discovered that windows doesn't allow access to large amount of its files that were easily ...
1
vote
0answers
273 views

windows 8.1 hosts file # redirect this is just a bad ideas

I've been editing my host file for a while never had this kind of problem. A few days ago I'm not sure either windows or a malware override my host file For example if I did this 127.0.0.1 ...
1
vote
1answer
99 views

Block (nullroute?) an IPv6 hostname using /etc/hosts

I'm trying to prevent my web browser from communicating with certain hosts (mostly ads and tracking). I have a list of such hosts in my /etc/hosts file. For IPv4 I can do: 255.255.255.255 ...
1
vote
3answers
72 views

Unable to browse IP using Browser after adding in Host File

I have mapped an IP in my Host file My IP XXX.XXX.XXX.XXX myservername server name is just a name without any "." When i try to ping it from command prompt using ping myservername it return ...
1
vote
2answers
479 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 ...
1
vote
0answers
379 views

/etc/hosts Cannot point hostname to new ip

Under Linux, the /etc/hosts file can be used to override dns definitions, i.e. to point an hostname to a different ip. I need to test a new VPS. So I added a line in the /etc/hosts file: ...
1
vote
0answers
126 views

Localhost via WAMP doesn't connect

I needed to change the default port wamp was listening to, so now I need to use another one, let's say 81. So now instead of going to http://localhost now I need to go to http://localhost:81. No ...
1
vote
0answers
299 views

Sendmail not working on ubuntu guest - unqualified host name

I have a win7 host running ubuntu guest through vbox. it is configured with a bridged network adapter and I am using DHCP to assign an ip of 192.168.0.5 which is mapped to smartstart.dev in my windows ...
1
vote
2answers
1k views

Cygwin netcat nc doesn't resolve hosts through /etc/hosts

I'm trying to use ssh to log into remote servers, and I have a ProxyCommand setup in ~/.ssh/config to use a proxy (setup through PuTTY to connect to a VPN). The ProxyCommand uses nc to connect ...
1
vote
0answers
69 views

Trying to reconcile global ip address and Vhosts

I have been using my local machine as a web server for a while, and I have several websites set up locally on my machine, all with similar Vhost files like the one seen here ...
1
vote
0answers
576 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
1answer
125 views

Hosts not recognized?

Basically, nobody can establish a connection to anything I host. The website, teamspeak, and game servers. I think it may have something to do with the hosts file or network configuration, but I have ...
1
vote
2answers
498 views

Firefox not taking note of /etc/hosts?

I've set foo.com to 127.0.0.1 in my /etc/hosts file in (located here on Windows: C:\Windows\System32\drivers\etc\hosts). Though Chrome loads foo.com with the one hosted locally on port 80, Firefox ...
1
vote
0answers
301 views

Is there a utility to ping a server using aliases in ssh config (instead of /etc/hosts)?

I'm trying to standardize my server aliases across projects by linking together ssh config files that I can keep under version control. I'd like to be able to just define machine aliases along with ...
1
vote
1answer
1k views

how to properly edit hosts, hostname and resolf.conf?

I have been searching the Internet for a real nop tutorial on the subject but could not found any direct info. on how to edit these files the proper way. I have a Debian Internet server that I use to ...
1
vote
1answer
653 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?
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
872 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
1answer
940 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. ...
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 ...