2022 Developer Survey is open! Take survey.

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
0 answers
7 views

Page Not found: On IIS Sub Application

I am new to IIS. And I want to deploy an MVC core web application on a website (parent) which is on ASP classic. I have created an application under the parent domain (www.mywebsite.ca). But when I ...
user avatar
0 votes
1 answer
25 views

Map UNC Path to local folder

I would like to map a local folder to a UNC Path. i.e. I have a folder, c:\temp that I'd like to access locally via \\media-server\temp I've tried adding an entry to my HOSTS file, 127.0.0.1 media-...
user avatar
  • 101
0 votes
0 answers
24 views

Only `.app` domains not working in the hosts file

I wanted to simulate my site's .app domain in the address bar while developing, by putting my site.app domain in the /etc/hosts file like so: 127.0.0.1 site.app www.site.app But if I then visit site....
user avatar
0 votes
0 answers
6 views

Issues when submitting lsf jobs on mixed windows machines

Have been facing the below problem for a long time on windows: We have some machines of windows 10, 2012, 2016 and 2019. Now, after submission of jobs via IBM lsf command (bsub) on all machines(of ...
user avatar
  • 1
0 votes
1 answer
32 views

QEMU: How to obtain host address from Ubuntu guest?

When using UTM on a Mac with a Ubuntu guest in it, I need to obtain the host IP address (of my Mac) from the guest to mount its file system by sshfs (or any other mount). It runs UTM based on QEMU. I ...
user avatar
0 votes
0 answers
13 views

Redirect via hostfile works from the terminal but not via browser

To avoid wasting time, I added my time-waster websites to the host-file and redirectem them to 127.0.0.1. One of the websites is 9gag.com. I then added started a web server from powershell in docker ...
user avatar
0 votes
1 answer
91 views

Local Network Subdomain Access

Im trying to set up a local network subdomain that is accessible to the entire local network. This is Ubuntu Server 20.04. I've modified /etc/hosts as follows: 127.0.0.1 localhost 127.0.1.1 nas....
user avatar
  • 159
1 vote
3 answers
39 views

Discrepancy when calculating hosts

Background I'm studying subnetting and find my answer to a question does not match that of the instructor. NOTE: This is something I have chosen to learn about myself. Not a course I am required to ...
user avatar
0 votes
1 answer
68 views

trying to add a new entry in windows 10 hosts file

just tried to add a new entry to my windows hosts file so that instead of using this: http://localhost:8085/ to launch my wordpress site, I can just do something like this: http://widget.local/ ...
user avatar
  • 125
0 votes
0 answers
34 views

/etc/hosts read-only with root user login

I am using Debian Server 9.5 I can't change my /etc/hosts file, its being read-only ls -lh /etc/hosts -rw-r--r-- 1 root root 461 Jan 6 2021 hosts and I am ssh via root user
user avatar
0 votes
2 answers
64 views

Is possible to skip error in executing of bash command?

I am trying to get list of all hostnames from my DNS server by command: host -l example-domain.com mydns.com However one machine has invalid DNS name, because there are two hyphens in row and I get ...
user avatar
0 votes
1 answer
26 views

Namecheap vps and godaddy domain connect

Hello I have Domain on Godaddy, I want to connect with new hosting on Namecheap but i can't find the NS of namecheap server. Someone to help me how to do that?
user avatar
0 votes
2 answers
223 views

Can't access second site on IIS when connected on a VPN

I have a Windows Server which has my dev website on it and can be accessed via IP or server name http://servername on the actual server or http://servername.org.com on my home PC which is connecting ...
user avatar
  • 53
1 vote
0 answers
74 views

How do I remotely modify a Windows 10 hosts file? [closed]

I have a general email issue, with the solution being to edit the hosts file through notepad, however I was wondering if there is a way to patch the hosts file remotely, changing an IP within it?
user avatar
  • 11
0 votes
1 answer
22 views

Local domains redirecting to https Win10 on 3 main browsers

This is blowing my head up - for local development I have added some domains to my hosts files as follows: 127.0.0.1 cake.test 127.0.0.1 foobar.test 127.0.0.1 dog.cat cake.test works fine - all good. ...
user avatar
-2 votes
2 answers
167 views

How many subnets and hosts per subnet can you get from the network 172.31.0.0/19? [closed]

How many subnets and hosts per subnet can you get from the network 172.31.0.0/19?
user avatar
  • 1
0 votes
0 answers
31 views

How to host several sites on one IP [duplicate]

I have a number of domains that I need to match on different websites. These websites are hosted on virtual machines that run on a dedicated server in the office where I work. The connection with the ...
user avatar
0 votes
0 answers
164 views

Not working Windows hosts file (for "localhost" name) in Parallels Desktop 16

I am using Parallels Desktop 16 on my Macbook Pro 15 (MacOs 10.15.7) I am installing the free "Legacy version of Microsoft Edge on Windows 10" in Parallels Desktop 16. But I cannot redirect &...
user avatar
  • 1
1 vote
0 answers
41 views

How to make a device visible to the internet?

[moved here from Network Engineering SE] I realize this is a simple question that is likely answered on various SE forms but I can't seem to ask it in a way that gives me the information I need, so ...
user avatar
2 votes
1 answer
68 views

Is this a valid assignment (made by professor) about dividing hosts into two subnets?

I quote the assignment: "Consider an organization with 4000 hosts. Divide the hosts into two subnets containing 1000 and 3000 hosts. Choose network ID's and define the subnet masks so that the ...
user avatar
0 votes
1 answer
203 views

How do I restore my Windows PC’s default hosts file? I can’t seem to edit it even as admin

I am using Windows 10 I used a custom hosts file from a website called Energized Pro. Here is a link to the hosts file itself. I downloaded the porn ad blocker hosts file and I just replaced my ...
user avatar
1 vote
0 answers
23 views

Windows10 HostFile Unexpected Behaviour

I wanted to change my hostfile to access Keycloack locally. I tried to change my hostFile (with admin rights) but i can only change it in Safe Mode I added the following line: 127.0.0.1 keycloak If ...
user avatar
  • 111
0 votes
0 answers
2k views

The same thing again - Lenovo.Modern.ImController.PluginHost.Device.exe

I have the same problem again and again with "Lenovo.Modern.ImController.PluginHost.Device.exe" that stopped working (then it was "companionapp.exe", now it's "pluginhost.exe&...
user avatar
  • 75
3 votes
3 answers
1k views

Domain blocked in Windows hosts file, but the site is still accessible

I'm trying to figure out why my hosts file isn't being honored correctly. And by correctly I mean, when I visit the website I'm trying to block it takes about 12 hours for it to take effect. And yes, ...
user avatar
4 votes
3 answers
7k views

VirtualBox host-only network, cannot ping host from guest

I have the following setup: Host machine Windows: IPv4 Address. . . . . . . . . . . : 192.168.0.103 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192....
user avatar
  • 611
0 votes
4 answers
274 views

Can I block HTML elements system-wide?

I know there is a hosts file that allows me to block entire domains. 0.0.0.0 blockthissite.net :: blockthssite.net I'd like to block particular elements for a website. I can do this today with ...
user avatar
  • 445
1 vote
1 answer
172 views

Ansible to include hosts IPs in template?

I have several IPs in my Ansible hosts file and would like to have it listed in the file that will be copied to each of these hosts. Say, this hosts are 1.1.1.1, 1.1.2.3 etc, and the is file on each ...
user avatar
  • 160
0 votes
0 answers
82 views

jenkins hosts unreachable - build failing

In my jenkins - build fails in every few days and it shows the below error/message -- (this job is running on my jenkins slave machine) Build o/p - ok=52 changed=5 unreachable=1 failed=0 ...
user avatar
0 votes
0 answers
155 views

Can I use wildcards for blocking websites in hosts files?

I'd like to block websites in my hosts file with wildcards. I know that I can block websites by adding them like this 0.0.0.0 website.com :: website.com I'd like to block websites in regex. I ...
user avatar
  • 445
1 vote
1 answer
222 views

remove local hosts from terminal on mac

I'm trying to instal adobe cloud, but it doesn't work because I believe some of it's servers are blocked in my terminal. How do I remove them? I know how to open terminal, but that's it. I'm not the ...
user avatar
1 vote
1 answer
88 views

Blocking ads with hosts file doesn't always work in Firefox

I'm running Firefox on Linux and doing adblocking at the system-level using /etc/hosts from StevenBlack Hosts on GitHub, but some websites, such as regional news and magazine sites, still show some ...
user avatar
  • 11
0 votes
0 answers
48 views

How to redirect all computers inside company network to one local ip when access mysite.com

I want to do a redirect like 192.169.251.211 mysite.com But i dont want to do this in each host file for all computers inside the company network. I just want to do this inside the company internet ...
user avatar
1 vote
1 answer
1k views

How to make changes to Mac OS hosts file take effect?

I frequently edit my /etc/hosts file to block access to distracting websites when I'm trying to work (e.g. I'll add a line like 127.0.0.1 www.nytimes.com). Until recently, changes to the hosts file ...
user avatar
  • 113
-1 votes
1 answer
218 views

Windows 10 | Hosts

Trying to add record to C:\Windows\System32\drivers\etc\hosts: 127.0.0.1 10.125.0.100 But seems no effect. Also tried to add records like: 127.0.0.1 google.com and result the same. But if I'll ...
user avatar
  • 113
0 votes
0 answers
475 views

How do I protect my hosts file in /etc/hosts?

I'd like to prevent the active user on my computer from editing or deleting the hosts file. I'd like it so that they cannot delete it or edit it, but everything else remains as normal. I have ...
user avatar
  • 445
0 votes
0 answers
515 views

Can't modify Windows hosts file because file is in use

I am trying to add an entry to my Windows hosts file and I"m having issues. I have already gotten around the Admin permissions issue by opening Notepad as and administrator and then opening the file ...
user avatar
0 votes
1 answer
59 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 ...
user avatar
  • 101
0 votes
0 answers
71 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 ...
user avatar
  • 101
1 vote
1 answer
2k 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 ...
user avatar
  • 85
0 votes
0 answers
75 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
100 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 ...
user avatar
  • 121
0 votes
1 answer
390 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 ...
user avatar
0 votes
1 answer
206 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
user avatar
  • 103
0 votes
1 answer
203 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 ...
user avatar
  • 756
22 votes
3 answers
7k 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 ...
user avatar
0 votes
1 answer
344 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 ...
user avatar
1 vote
2 answers
1k 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....
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 ...
user avatar
  • 115
0 votes
0 answers
35 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 ...
user avatar
  • 1

1
2 3 4 5
8