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
2answers
319 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
696 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
743 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
1answer
71 views

http://localhost:3000 works, but http://127.0.0.1:3000 doesn't

I'm building a Rails application on my local dev machine. When running my local server, I can access http://localhost:3000 without a problem. However, when I try to navigate to http://127.0.0.1:3000, ...
1
vote
2answers
1k 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
103 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
420 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
425 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
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
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 ...
1
vote
1answer
131 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
603 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
2answers
3k 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
177 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
828 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
249 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
94 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
437 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
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 ...
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
539 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
0answers
210 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
223 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
74 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
54 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
0answers
364 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
120 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
289 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
954 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
67 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
555 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
474 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
262 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
630 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
3answers
602 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 ...
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
833 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
909 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 ...
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 ...
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
3answers
31 views

Moving 33Gb images from Shared host to VPS

i have a shared host in iPage, and now i have purchase an unmanaged VPS. in my iPage host i have 33Gb of images and i want to transfer it to the VPS. What would be the most effective method to ...
0
votes
5answers
335 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? ...