Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
54 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 ...
0
votes
1answer
55 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 ...
0
votes
1answer
77 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....
0
votes
1answer
124 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 ...
0
votes
2answers
223 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 ...
0
votes
0answers
32 views

Shell script to get ip of list of domain names: connection timed out; no servers could be reached

I have the following script from some sources in the web that should execute command host to get the IP address of a domain name in file myfile.txt. The script is: #! /bin/bash while read hostname; ...
0
votes
1answer
47 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 ...
0
votes
0answers
50 views

Can't find a Host, that is up?

There are few vm-clients, and from one of those I launched a scan. A nmap scan (nmap -sP "Routers_IP_range") revealed some hosts up. There is just one Host, I couldn't find. Nmap scan report for ...
1
vote
0answers
59 views

Virtual machine and 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 ...
-1
votes
1answer
101 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 +...
-1
votes
1answer
65 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 ...
0
votes
1answer
289 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 ...
0
votes
1answer
136 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. ...
0
votes
0answers
82 views

Virtual \\host in Windows 10

I need to create a virtual "host" (forgive me if this is not the right word) in Windows 10. Basically I need to access a folder by typing in \host in file manager. Is this possible? E.g. a file in C:\...
0
votes
0answers
31 views

How to forward a VPN network from a PC

I need to establish a LAN connection between a Windows PC (A) and another device (B) at a remote location. I have access to another Windows PC (C) at the same location as B. B is a linux-based ...
-1
votes
1answer
397 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 ...
0
votes
2answers
82 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
0
votes
2answers
264 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 -...
0
votes
1answer
131 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
0
votes
1answer
179 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 ...
0
votes
1answer
107 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 ...
0
votes
1answer
407 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/...
1
vote
3answers
1k 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 ...
0
votes
0answers
1k views

Hosts file not redirecting url in Kali Linux on VirtualBox

I need to view two versions of a website side by side. The domain points now to the new one on a web server; the old version still resides on another server. There are many reasons for I can't ...
1
vote
0answers
415 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 ...
10
votes
6answers
21k 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 ...
1
vote
0answers
293 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 ...
1
vote
0answers
34 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 ...
0
votes
0answers
201 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 ...
1
vote
0answers
19 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 ...
1
vote
2answers
5k 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 ...
0
votes
1answer
504 views

Conditional /etc/hosts file

I am trying to add conditions based on ip accessing to localhost on windows 10: /etc/hosts if (ip == '192.168.0.102') 127.0.0.1 www.site.co.uk site.co.uk else #127.0.0.1 www.site.co.uk site.co....
0
votes
0answers
331 views

Is there a limit to the hosts file registered domains?

I want to block the malware domains but extends to 150,000 domains need to block. Can I put it in the hosts file? I Guess it could take the size of the hosts file to 18MB. Edit: My PC is Windows 10
2
votes
1answer
477 views

sshd does not recognise “AllowUsers user@host” statements

I recently installed Fedora-25, and I am having a problem with my /etc/ssh/sshd_config. I am trying to configure it with a statement like: AllowUsers user@host I cannot connect via ssh to the ...
2
votes
3answers
1k views

Use slashes in host file

I have the following line in my hosts file: 10.10.1.10 sub.domain.com But 10.10.1.10 refers to the root of the server, which causes problems when I still have to go to a folder for example 10.10.1....
2
votes
2answers
641 views

Scan for hosts in a LAN from outside of the LAN given it's public IP ( i.e IP of the router )

Is there any possible way to scan for hosts behind a router by knowing the router's IP address and the network address of the LAN ? I don't mean port scanning of hosts behind a router where NAT's ...
0
votes
1answer
20 views

Disabled host file entry not loading

I have deleted an entry from my computer hosts file. So the website SHOULD be accessible BUT it is still not accessible. I check my router URL filtering feature but there are no entries in the URL ...
0
votes
1answer
150 views

Windows 7: Map to 4 shares on same SMB host?

I have a Lubuntu 16.10 host file server with 4 Samba shares, each relating to a different physical disk. I want to map to each of these 4 shares simultaneously from Windows 7 (as I want to run ...
2
votes
1answer
939 views

Trying to grep the output of fs_usage with poor results

I'm trying to figure out what process is periodically and silently erasing the contents of the /etc/hosts file on a Mac. I tried using: sudo fs_usage | grep hosts but it only generates a few seconds ...
0
votes
0answers
31 views

calculating hosts using 1 network address

IP and/or subnet mask is not allowed for use on a port Did I do it right? I think there is something wrong HOST BB NSM DELTA Octet NA FUH LUH BA 510 9 ...
0
votes
1answer
459 views

Chrome doesn't respect Windows hosts but Firefox does

c:\Windows\System32\drivers\etc\hosts 213.213.213.213 ken.bone.com kenneth.bone.com I'm using a clean profile in both Firefox and Chrome with all privacy settings and prefetching disabled. ...
1
vote
1answer
4k views

Can't block connections to google via HOSTS file

Steam and Spotify connects to "clients.l.google.com" (172.217.21.206) using 5 to 100 kb. It might be analytics. I blocked google.com, www.google.com, clients.l.google.com via hosts file, somehow it ...
0
votes
0answers
331 views

How to serve multiple websites using one domain with path

I am new to this and I searched everywhere for a server routing method to be able to 2 sites stored at different paths to a single domain. Most help I found refers to using virtual host to multiple ...
1
vote
3answers
66 views

Is it possible that I gave someone access to my computer by messing with hosts file?

I pinged one site (not from my network), then I added IP of this site to my hosts file in the same lines with my localhost, local IP address and my router address (like below) ip of that site my ...
0
votes
1answer
46 views

Where to save files in ftp host

I'm planing to save some files in my ftp account. This is the directory: /Root ├─ some .folders ├─ some domain_folders ├─ some server_folders └─ folder I want to create to save files My ...
0
votes
0answers
70 views

Changes in symlinked hosts file need restart to be effective in Windows 10

On my Windows computer, I have started using symlink for the hosts file and placed the original file somewhere else. Everything is working fine, except if I change something to the original file, it ...
0
votes
0answers
199 views

How to remove a CNAME record?

I use the hostname basic.localmachine.io for local development and it points to the localhost. For some reason, basic.localmachine.io has a CNAME set in my machine to basic.wpengine.com. I have no ...
0
votes
1answer
417 views

Find what is resolving a LAN IP address to a URL in firefox

When I go to 192.168.2.2 in firefox on a linux computer on my LAN it resolves to the URL of the webserver that is running on that IP address. Lets call it https://example.com. But when my internet is ...
0
votes
1answer
516 views

Blocking ads on router indirectly?

I have a TL-WR941ND dlink router and I want to block ads using it, but I would have to manually add domains on it so I'm looking for some kind of work around? I would prefer a solution that doesn't ...
1
vote
1answer
156 views

TDS Cable Search: Code 0 Unknown host

When I try to use my TDS Telecome cable box to search the TV guide, it has an error: Code 0 which is says is an unknown host. This started happening after I updated some settings on my TDS ...