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
3answers
772 views

IPs in hosts.deny only block ssh

I am running a small server where I want to block some special IPs using /etc/hosts.deny. If I make an entry like ALL: <IP> only the ssh service will be blocked for IP. All the others ...
0
votes
1answer
245 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 ...
0
votes
1answer
72 views

Make an IP forward to a directory on local machine

I would like to setup a forward, where I open my web browser, type in an address such as: http://helpdocs and it direct me to a folder on my computer with a HTML file in it, such as in a website. I ...
2
votes
0answers
106 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 ...
0
votes
0answers
45 views

refresh host file in firefox without closing

I am using ubuntu and firefox, i have a dev server and production server. when i develop i use my dev and change my host file: cat /etc/hosts 10.1.1.1 website.com then, firefox uses my dev server ...
0
votes
2answers
157 views

How to configure and access both local and remote versions of same website/domain?

I am working on a client's website which is currently hosted on an external remote server. I downloaded a copy of the site to my local computer, which is running a 'LAMP stack' set up on Arch Linux, ...
0
votes
1answer
196 views

Change Hosts file based on connection - Windows

So I have a laptop. It connects to places wirelessly. Home, work and public. I want to change the host file based on the network I'm connected too. Realistically, in my situation, I should have 2 ...
0
votes
1answer
74 views

Block ONLY Google Ads

There is an easy way to disable ONLY ads by Google (like this: https://p1.picsto.re/2013-10-06_111448.png )? Using hosts file (I hate Adblock or other bloatware tools) is quite easy but what are the ...
0
votes
1answer
102 views

Virtual Private Server as Intranet host

Is it possible to use a Virtual Private Server to host an intranet and connect to it via the hosts file on your computer? Thanks in advance, Francis
0
votes
1answer
250 views

Redirect all HTTP requests to a website

How to configure windows to open the same static html page for all HTTP browser request. For example if the user types http://www.google.com, my static Index.html will be shown.
1
vote
1answer
1k 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
votes
1answer
109 views

Using a custom /etc/hosts, what IP address should I use to instantly time out? I'm running a web server on localhost

I was wondering what I should use. I have tried 129.0.0.1 which times out fairly quickly when I try to access it in a web browser but when loading a page with ads, there is a significant slowdown. ...
0
votes
1answer
59 views

New domain not working on computer that purchased it

I recently purchased a domain name from Hover.com for my website. My nameservers have updated and everyone can access the site... except me. Friends from across the US, local friends, other ...
1
vote
0answers
347 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: ...
0
votes
1answer
68 views

Terminal host changed

I opened terminal today and realized that the usual startup text: my-macbook-pro:~ myUsername$_ has been replaced by: mscs256-24197:~ myUsername$_ I tried googling but couldn't find anything. ...
-1
votes
1answer
52 views

Add 'www' entry to /etc/hosts

Using Windows and JetBrains IDEA; and trying to serve a hard coded .zip file for scala, since IDEA's plugin is hard-coded to a non-existent location on scala-lang.org. So I've added: 127.0.0.1 ...
1
vote
1answer
438 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.
0
votes
1answer
358 views

Adding dyndns hostname to /etc/hosts with Alias

I configued my router to work with dyndns. Instead of using the dyndns hostname created by dyndns.org, I want to define my own host name, that in tern, refers to that dyndns hostname. For example, ...
0
votes
1answer
77 views

How to return/simulate error 102 from nginx?

Is it possible to return for a specific domain an error, like if the server (nginx) would not work?
0
votes
0answers
38 views

Unknown hosts between 2 computers

I have 2 computers with Linux running on them: ip: 192.168.0.1 hostname: COMPUTER1 ip: 192.168.0.2 hostname: COMPUTER2 ip: 192.168.0.3 the router I configured the /etc/hostname files with the ...
-2
votes
2answers
156 views

Why svchost suchost is running in cmd mode but not in taskmanager

If we go to task manager and check, there seems to be no svchost/suchost process running. However, if we check in cmd mode, using the command TASKLIST, it shows a list of hosts that are running ...
3
votes
2answers
1k views

LINUX Ping host, Display error on failure

I'm writing a bash script to ping a given hostname, and display whether or not the host is active (display a simple message.) Should be easy, but headache instead. Here is what I have so far: ...
0
votes
1answer
383 views

DNS redirect in Win8 like it was possible with hosts file

there was a time when you could redirect a server for debugging purpose simply by changing the windows hosts file. This does not work with windows 8. So what is the easiest way to redirect (let's ...
2
votes
1answer
9k 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 ...
1
vote
2answers
452 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
4answers
59 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 ...
0
votes
1answer
148 views

my LAN pcs are not able to connect to the Internet. I am using DHCP server and linkys router

My connection details: A have atotal 10 PCs connected to Linksys router. DHCP is enabled in the router. IP adddress: 192.168.0.103---013 subnet 255.255.255.0 gateway: 192.168.0.1 ...
0
votes
1answer
126 views

Split HOSTS file used by Microsoft TCP/IP for Windows

I have a file called hosts located at: %systemroot%\system32\drivers\etc I want to create two partial file of a single one. So that, I can add my entries each time to a new file without having ...
0
votes
1answer
63 views

host to host translation in linux?

In Linux (fedora or cent OS, etc), I want to say if one program tries to download from one url, it goes to my host (my url) instead of what it tries to go. Something like /etc/hosts, but /etc/hosts is ...
1
vote
0answers
115 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 ...
2
votes
1answer
106 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. ...
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 ...
0
votes
2answers
82 views

How can I automate my usage of three VM machines with the same alias?

How do I automate my usage of three VM machines which require me to add a IP aliased to a name in my HOSTS file. I upload code to the server of choice and then I go to the address http:/ / ...
1
vote
3answers
644 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 ...
0
votes
1answer
37 views

Host File under MacOSX

I am trying to edit my host file to see how it works. But with no success. I enter this in my /etc/host file: 173.194.66.103 www.youtube.com And when I type 173.194.66.103 on the browser I get ...
0
votes
2answers
76 views

Why would I need a host adapter pcie card?

I have a total of 4 expansion slots on my PC. I am putting a killer network card, graphic card, and a sound card in it. I searched a list of expansion cards to put in the last slot that could ...
3
votes
3answers
4k views

Adding a line into the hosts file, getting permission denied when using sudo - Mac

I'm trying to add a line into the hosts file on my Mac by executing a one line command on the terminal. I thought this would be easy using sudo, but it returns "permission denied" when I try to add ...
1
vote
0answers
240 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 ...
0
votes
1answer
84 views

Hosts redirection not working properly

Simply put, I want to redirect uk.wikipedia.org to en.wikipedia.org. I put this in the hosts file on windows, saved it, and flushed the DNS cache: 91.198.174.225 uk.wikipedia.org But when I ...
1
vote
4answers
227 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 ...
3
votes
2answers
558 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
1answer
6k views

What's the Windows equivalent of “/etc/hosts”? [duplicate]

Possible Duplicate: How do I block certain websites from being accessed through a browser? I can block my little brother from accessing a website on my Mac by adding the following line to ...
3
votes
2answers
148 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 ...
-1
votes
2answers
1k views

Point Multiple IP Addresses to a Single Host Name

Is it possible to have a single host name with multiple IP addresses? The hostname will be used to access a box in LAN with 192.168.x.y and from outside with IP w.x.y.z which is portforwarded to that ...
2
votes
0answers
114 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 ...
0
votes
1answer
113 views

Hosts entry does not take effect

I am working on windows 7. I have successfully added entries on my hosts file before and it worked fine. 10.10.10.10 me.mysite.com But different website was given to me like this (Similar looking): ...
2
votes
1answer
450 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 ...
1
vote
2answers
300 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
3k views

How to change IP address to point to localhost in Linux?

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
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: ...