Questions tagged [hosts]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
419 views

Not able to use hosts file in browser

I have a site setup in IIS, as a default site. I'm able to browse it using http://localhost and http://127.0.0.1. Also, I'm able to access it using telnet localhost 80. I have an alias set in the ...
SWeko's user avatar
  • 101
0 votes
0 answers
201 views

Hosts redirect for HTTPS sites?

I'm trying to do some DIY parental controls on my Windows box that redirects certain sites, like YouTube, to localhost. It technically works and redirects, but fails to load the localhost site because ...
Deeko's user avatar
  • 101
1 vote
1 answer
4k views

Add hosts entry with HTTPS capabilities

I have modified my Windows 10's hosts file to add an entry for a URL to lead to a given IP, as is it's intended usage. However, this only works for connecting on http. Trying to enter the site ...
Markski's user avatar
  • 85
0 votes
0 answers
80 views

What is the most effective way of remotely controlling the hosts file?

I need to control the hosts file on other Windows machines. I have administrator access on those machines and can install anything, the only question is — what to install? Ideally I would simply make ...
Dmitri Nesteruk's user avatar
0 votes
2 answers
3k views

Unable to unblocked the sites in Hosts File

I blocked some site in Hosts File, but when I tried unblocking it by deleting the indicated sites. I'm still unable to access the sites. Can anyone help me with this? I blocked the sites by using ...
Rai Sobere's user avatar
1 vote
1 answer
330 views

Load multiple hosts files

Think I already know the answer. But looking for a unicorn. Anyone know if there is a way to link one hosts file to another, or load 2 or more different hosts files? I have a hosts file that has ...
Rob C's user avatar
  • 121
0 votes
1 answer
998 views

How to access virtualbox's host localhost from guest browser

So it's 2019, I am running a Win 10 in my VirtualBox. And I want to basically redirect localhost to 10.0.2.2 (which is the host machine's ip) 10.0.2.2 localhost This does not seem to work, some ...
user2167582's user avatar
0 votes
1 answer
382 views

CPU not being the host in the PCIe bus

Is it possible to force the CPU as not being the "host" of the system? But instead a PCIe "device" being the host and contro
Benedetto's user avatar
  • 103
0 votes
1 answer
572 views

Set a hosts file definition only for certain applications?

I can set redirection to localhost by modifying my hosts file but this is a global modification. Is there a way to redirect DNS resolution on a per-application basis? Acceptable solutions include ...
Zhro's user avatar
  • 867
25 votes
3 answers
10k views

Remove ads in Viber for PC [closed]

How do I disable ads in Viber for PC - version 11.4 (2019). The hosts file trick no longer works (the following one): 127.0.0.1 ads.viber.com 127.0.0.1 ads.aws.viber.com 127.0.0.1 ads-d.viber.com ...
Coder12345's user avatar
0 votes
1 answer
2k views

How to use hosts entries inside a router?

I use manual entries inside /etc/hosts to map some hosts like mytestapp.local to local machine 127.0.0.1 for development purpose. Now, as I want to access the webapps I work on from mobile devices by ...
Sergei Basharov's user avatar
1 vote
2 answers
4k views

Adding 127.0.0.1 to hosts file to redirect locally error. Says my site "refused to connect."

I'm on Windows 10 using Chrome, Firefox and MS Edge. I'm trying to do something for a class I'm taking and can't get it to work. All I want to do is add something like this to the hosts file: 127.0.0....
CodeChops's user avatar
  • 113
0 votes
1 answer
17 views

How to change /etc/hosts make it can visit multi folder under /var/www/html

I have a local centos pc , I use it as my online wordpress 's backup , mean it also have a wordpress site which can only visit from local . here is my current /etc/hosts 127.0.0.1 localhost ...
yangl's user avatar
  • 115
0 votes
0 answers
57 views

Able to SSH localhost, but other computers can't be hosted on it

I am trying to get access to a certain computer (A) via SSH, but I am unable to. On the "certain computer" (A) I am able to SSH localhost itself, but other computers cannot use the SSH (IP) to ...
Binimo's user avatar
  • 1
0 votes
0 answers
2k views

Windows 10 Home WiFi 'Destination Host Unreachable' when site IP starts with anything above 200

First of all I AM NOT A PROFESSIONAL - one would say a bit more experienced newbie girl, so please bear with me, though I have some knowledge that enables me at least testing + english is not my ...
Anka Petkova's user avatar
1 vote
2 answers
16k views

Windows Server 2016 RD Connection Broker doesn't redirect

We have been trying to set up an RDP server farm for the past 2 weeks now and we are right at the end but just cannot solve this last issue. We have 2 RD session hosts and 1 server running the RD ...
user1043061's user avatar
0 votes
0 answers
590 views

Running Office 2003-2016 on Windows Server 2016

We have a small server farm which uses Windows Server Remote Desktop Services with remote sessions hosts and not remote virtualization hosts. With virtualization hosts you are able to install Office ...
user1043061's user avatar
0 votes
1 answer
28 views

hosts file rebuild after a while

I got a strange problem with my hosts file on windows machine. I save it with some default ip's - hostnames and after some time I notice again that some of the hosts have again tagged with the # ...
Vagelism22678's user avatar
26 votes
8 answers
31k views

Does Firefox ignore the hosts file? How to make Firefox honor the hosts file

I'm using Firefox browser in Ubuntu 18.04. I made an experiment where I want some domain names to be resolved to another IP address than their actual one. Firefox seems to ignore the IP in the hosts ...
user9371654's user avatar
  • 1,207
4 votes
1 answer
7k views

Chrome on Windows not honoring hosts file, yet other browsers do

What is happening I have a simple Apache server set up on my machine, accessible via localhost on port 80. When accessing the following addresses : http://localhost/ http://[::1]/ It does work on ...
Rezrazi's user avatar
  • 155
-1 votes
1 answer
312 views

How can one let the emulator in Android Studio work faster?

I am trying to build a simple app in Android Studio. Unfortunately every time when I am trying to run it I get the message "System UI isn't responding" and the emulator works really slowly. I've read ...
Katharina Hohenfels's user avatar
5 votes
1 answer
29k views

Can a host file DNS entry point to multiple Ip addresses?

Can a host file DNS entry point to multiple Ip addresses ? basically i want have to ad servers , but no balancer due to port issues , the solution i think is host file entry ,but can one dns point ...
Ankit Jindal's user avatar
4 votes
1 answer
20k views

Why does the hosts file in Windows 10 no longer block YouTube?

The file hosts in C:\Windows\System32\drivers\etc blocks every website, that I put in there except YouTube. It used to block it but no more. There were always workarounds to go on YouTube, if you ...
Paul Erlenmeyer's user avatar
1 vote
1 answer
41 views

Can /etc/hosts values be used while still (rapidly) falling back to their DNS values?

I have a server hosted on my home network. Normally, I would access this from its DNS value (e.g. example.com.) However, my ISP has an awkward setup wherein I cannot access my home network's external ...
Ethan McTague's user avatar
0 votes
0 answers
6k views

Block officeclient.microsoft.com on Office 2016

We are in a migration process to Win10+Office16 in my company. In the new system, every time we open any Office application, a proxy pop up appears asking for credentials and we would like to block ...
YaKs's user avatar
  • 3
0 votes
1 answer
75 views

Concurrently block a web site on some browsers but not others

I need the ability to block a particular web site, in this case youtube.com, on selected browsers or browser instances, but not block it on others. For example, suppose I have different browsers or ...
Ievgen's user avatar
  • 363
3 votes
1 answer
4k views

Block mobile.twitter.com using etc/hosts

I'd like to block the webpage mobile.twitter.com using etc/hosts. Using this code, I can block many websites including twitter.com, but mobile.twitter.com works normally 127.0.0.1 www.twitter.com 127....
Bonifacijs's user avatar
0 votes
1 answer
1k views

Firefox DNS resolution order

Do you know what is the DNS resolution process order of domain names in Firefox? Has the hosts file proprity over DNS server? Has the hosts file proprity over mDNS names in the network or mDNS is ...
Tobia's user avatar
  • 2,261
0 votes
2 answers
5k views

How to fix "sharing violation" message when editing hosts file?

I'm running textpad as administrator. When I try to save the changes, I get a message "Encountered a sharing violation while accessing C:\Windows\System32\drivers\etc\hosts." I checked using Process ...
Geoffrey Kidd's user avatar
0 votes
1 answer
67 views

Is there any possibilities to access the host name which is added in other system host file?

I have added the new host name(www.example.com) and IP in host file at my system.I can access the website. Question is, Can access the same host name(www.example.com) in other system? Is there any ...
Vijayadhiliban's user avatar
2 votes
0 answers
130 views

How do I prevent network access from virtual machine to the host computer?

I have VirtualBox i installed a Windows 10 virtual machine and i wanted to surf the Dark web (because i worried about getting any viruses so i created a virtual machine) and to test some Malwares and ...
Sheep1Man's user avatar
-1 votes
1 answer
320 views

The wamp server vhosts address go to google search page

my vhosts file : <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "C:/wamp64/www/" <Directory "C:/wamp64/www/"> Options +Indexes +Includes +...
Mohammad Sadeghyan's user avatar
-1 votes
1 answer
1k views

How to resolve host names under a wifi router?

Is it possible to resolve host names by using a DNS server that resides behind the router and has a local IP? I was able to manage this by modifying the hosts file under Windows/System32 My aim is to ...
Vesnog's user avatar
  • 151
0 votes
1 answer
2k views

How to setup new host name (IP address) and port number in xubuntu 16.04 to connecct to wifi internet?

I explain my situation: I downloaded from google play store NetShare app to make my smartphone as WiFi extender, it works with no problems, BUT I need to change the host name (IP address) and port ...
vladimir pavloski's user avatar
0 votes
1 answer
164 views

View website traffic using a free service [closed]

I have a academic website whose host belongs to my university. My domain is something like this: http://myuniversity.edu/~myusername/. I want to view the website traffic using a free service. ...
Patris's user avatar
  • 33
-1 votes
1 answer
2k views

block websites on windows while maintaining access to admin and super-admin rights

The motivation is to block myself from accessing certain distracting websites while still being able to add/remove programs, change settings etc. Can the built-in parental controls deliver this ...
user27636's user avatar
  • 147
0 votes
2 answers
733 views

Block a specific page not the whole file from the host file

Is there a way to block a specific page not the whole website from the host file. For example: Instead of: 127.0.0.1 www.reddit.com I want to block only: 127.0.0.1 www.reddit.com/r/Futurology
Avtontom_'s user avatar
  • 125
0 votes
2 answers
915 views

WSManCredSSP setting cannot be enabled

Im trying to set up 2 Hyperv 2016 Server hosts on my local network for remote access, but I just cant get them going. Servers are configured properly - both running: PSRemoting (also tried -...
Jon's user avatar
  • 3
0 votes
1 answer
325 views

How to restrict program to connect only to a whitelist of hosts?

I want to restrict some program to be allowed to connect only to a whitelist of hosts. What it the simplest way to achieve this? OS: Windows 7
Gras Double's user avatar
  • 1,090
0 votes
1 answer
437 views

Adding ShortHostName to hostname file, and ShortHostName.DOMAIN to hosts file in Docker container

When I use docker run --it --name myContainer --hostname myShortHostName ubuntu bash That will add myShortHostName to /etc/hostname file. And 172.169.X.X myShortHostName in /etc/hosts file. but in ...
Mohammed Noureldin's user avatar
0 votes
1 answer
451 views

Host's File Permissions in Solaris

On a Solaris 10 server I am trying to edit the hosts file but it's preventing me from doing so saying it's read only. I am logged in as the root user. When I ls -l on the /etc directory I see the ...
jonboy's user avatar
  • 231
0 votes
1 answer
726 views

SSH Config Not Working As Expected

I normally connect to a seedbox like so: ssh -D 20000 <user>@<host> It then prompts me for a password: <user>@<host>'s password: Pretty standard stuff. So I set my ~/.ssh/...
Thor Correia's user avatar
1 vote
3 answers
4k views

How big of a security risk is changing the permissions on my hosts file? [closed]

I regularly change the file because I add different subdomains to localhost when building websites locally. To get around the hassle of having to go through elevated UAC every time I thought I might ...
andrew's user avatar
  • 155
0 votes
0 answers
1k views

Mapping a local domain to http://localhost:<port_number>

I have a /etc/hosts file with the two following lines: 127.0.0.2 myapp.dev 127.0.0.3 api.myapp.dev and this works fine. When I ping myapp.dev it maps to 127.0.0.2 and when I ping api.myapp.dev ...
Ed de Almeida's user avatar
27 votes
8 answers
72k views

OSX Sierra hosts file is ignored

For some reason, two days ago my hosts file started being ignored. I'm using Mac with Sierra OSx . This is the current content of the /etc/hosts file ## ## # Host Database # # localhost is used to ...
T1000's user avatar
  • 373
1 vote
0 answers
578 views

Vagrant on Mac os and hosts file issue

Editing file /etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 ...
Alexander Kim's user avatar
1 vote
0 answers
39 views

Google JS not loading

I'm having an issue with a computer, for some reason it won't display correctly some Google products (Google Fonts Webpage, Google REcaptcha, Google Map overlay tools, Google account button dropbox no ...
Jean-Francois Jodoin's user avatar
0 votes
0 answers
268 views

Dynamic IP resolve to Hostname-CentOS

I'm trying o figure out a way to create a hostname that resolves to a dynamic IP? To clarify, in a OS such as CentOS there is a hostfile that stores the hostname (host.local) and a associated static ...
Benjamin Jones's user avatar
1 vote
0 answers
30 views

Local computer name lookup changes from Win7

I have an application that uses the local computer name to lookup RMI host. On win7, I was able to put an entry in hosts so that this always returned 127.0.0.1 when running on the same machine as the ...
C-M's user avatar
  • 11
1 vote
3 answers
16k views

MikroTik Layer-3 communication between 2 hosts

Test question - mikrotik In MikroTik RouterOS, Layer-3 communication between 2 hosts can be achieved by using an address subnet. Which one of those "/29" "/30" "/31" "/32"? Why? I understand ...
Rafael SoWhat's user avatar

1
2
3 4 5
8