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)

3
votes
1answer
1k views

Hostname resolution of Linux machines with static IP

I have couple of linux servers that I to assign static IPs to because I'm doing some CARPing and Vlans. The way my DNS server is set, it gets the hostnames dynamically from the nodes, as soon as ...
3
votes
2answers
231 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
159 views

Can one make a Macbook behave like a USB-Drive

Is there a Way to emulate an usb-drive with a Macbook? I do not mean to emulate usb drives on my macbook! I would like to plug a double usb cable to my macbook and e.g. my TV. I want the TV to think ...
3
votes
2answers
340 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 ...
3
votes
2answers
89 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 ...
3
votes
2answers
636 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
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
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 ...
2
votes
3answers
19k views

How do I get IE to use my hosts file when using a proxy .pac file?

I have the following line in C:\WINDOWS\system32\drivers\etc\hosts: 192.168.12.1 myapp.local When I open up a command prompt and type "ping myapp.local", I get a response from 192.168.12.1. When ...
2
votes
1answer
342 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 ...
2
votes
1answer
10k 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 ...
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 ...
2
votes
5answers
1k views

Blocking a game on XP with the hosts file

In the Windows XP hosts file (C:\windows\drivers\etc\hosts) replaces the mnemonic format with an ip address locally before talking to the dns. Previously, I have used the four slots for hosts and ...
2
votes
1answer
2k views

MAMP PRO on Lion: why can't I see any changes in httpd-vhosts.conf?

After adding a local virtual host in MAMP PRO (os x lion) everything works as expected. Out of curiosity I had a look at httpd-vhosts.conf file placed in MAMP/conf/apache/extra and to my surprise this ...
2
votes
4answers
2k views

Redirect browser to different host and port

Background, Running windows 7, FF3.5, and am an admin. I recieve emails from an internal company service that has links. The problem is the links don't work from my office. If the resource is ...
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 ...
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 ...
2
votes
1answer
110 views

Why is the url being turned into an IP?

I am trying to understand why when I type in a url address that is for a development server my browser changes it to an IP? In the top of my host files I have something like 11.111.111.11 devserver. ...
2
votes
1answer
485 views

'Canonical' way to block websites in Windows 8 without using hosts

In Windows 8, Microsoft has (rightly) decided that Windows Defender will prevent modifications from being made to the %WINDOWS%/System32/Drivers/etc/hosts file. This is an attempt to prevent trojans ...
2
votes
1answer
1k views

Are asterisks in /etc/hosts supposed to have any effect?

I have something like this in /etc/hosts: 192.168.0.1 example.com 192.168.0.1 *.example.com example.com is pinged to 192.168.0.1 as expected but pinging say sub.example.com outputs: ...
2
votes
2answers
4k views

Access a local web server from a mobile phone?

I am developing a website and I'd like to look at it from my mobile phone (which is right next to the dev computer, on the same LAN). The development is on a dev computer with XAMPP. The local domain ...
2
votes
2answers
4k views

Can a router map a URL to a local ip?

I'm setting up a facility with many different computers where I don't have access to their hosts files. How would I map test.com to a local server without using the hosts file? Can this be done using ...
2
votes
1answer
401 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 ...
2
votes
1answer
1k views

EasyPHP cannot modify hosts file

I am using the Virtual Hosts Manager module to add a virtual host so I can access my local site on the browser like so: http://mysite.local/. But I am getting this message: Unfortunately, you do ...
2
votes
1answer
484 views

How can I redirect a URL with sub-dir to a specific IP address using the Windows HOSTS file?

I want to redirect "www.example.com/sub-dir" to a specific IP, using Windows hosts file. Not just the domain but the domain + sub directory.
2
votes
1answer
12k views

How to share Internet connection of VMWare guest with host in VMWare Player?

I have a cheap 3G Internet stick with no driver support for my current operating system, yet that is currently my only way to get online. I had no trouble getting a connection with VMWare Player and ...
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 ...
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 ...
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 ...
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
1answer
98 views

Can you map a certain url to another ip?

There's a similar question to this, but that one only says that you need to setup a webserver, but doesn't elaborate on that and is probably something that I'm not looking for. Another one was over ...
2
votes
0answers
146 views

Host hacks when no access to hosts file

I would like to test website where public DNS name is not changed yet. In order to to do that I need to change hosts file on the workstation but the domain security policy prevents me to do so. Is ...
2
votes
0answers
125 views

Make Mac Parallels IIS website accessible from Internet

I am developing an e-commerce site that is nearly finished, last thing I need to do is debug an issue with a callback from the payment gateway. I am running Windows through Parallels Mac and want to ...
2
votes
1answer
131 views

Host file entries are ignored when accessing my University's WLAN

I set up my hosts file in Windows 7, so I can't access certain time-wasting sites. It works fine when I am back home, but as soon as I connect to my University's WLAN, I can still access all sites ...
2
votes
1answer
339 views

Make IP Address point to webroot instead of virtual hosts' documentroot

I used to have a one-to-one domain name and IP. Recently I've paid for a second domain name and decided to host it on the same box and IP. As such, I added virtualhosts to point each domain name to a ...
1
vote
5answers
850 views

How can I tell if I am SSH'd in somwhere already?

Is there an easy way to tell if I am SSH'd in somewhere without typing 'exit'? Like, if I am currently sitting at computer A and I SSH'd to computer B and then from B to computer C, is there a way I ...
1
vote
10answers
7k 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 ...
1
vote
2answers
181 views

How to use multiple localhosts

On my local development machine (Windows 7), I am using IIS and XAMPP to develop websites. Because it is unclear when I have multiple websits running, I am tried to rewrite the hosts file ...
1
vote
10answers
12k views

Windows XP - Hosts file has been tampered with

My Windows XP hosts file has been tampered with, and I can't fix it. This is particularly bad because whatever tampered with the hosts file left these: ... 188.124.7.190 www.google.com 188.124.7.190 ...
1
vote
4answers
229 views

while one website host is down, can I set up another host to take over, untill the first host goes back up

Basically I have a simple free host (000webhost.com) that I used to use. Now I have my own machine to host a website. however, when I'm updating stuff on that machine, or anything that might make the ...
1
vote
2answers
577 views

trouble adding sub URLs / pages inside a domain to /etc/hosts file

I want the hosts file to block www.url.com/page without blocking www.url.com step 1 ////////////// I've added 127.0.0.1 www.apple.com to my /etc/host file When I do ping www.apple.com I get this ...
1
vote
3answers
696 views

Locally redirecting domains (like with /etc/hosts) during certain hours of the day

folks. In the interest of upping my productivity, I'd like to selectively block or redirect certain websites in blocks of time during the day. I've already got some sites completely blocked in my ...
1
vote
2answers
4k 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
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 ...
1
vote
4answers
10k 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
2answers
26k 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 ...
1
vote
4answers
742 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
344 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 ...