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-file]

The "hosts file" is a common tool in operating systems to map names to IP addresses. These mappings usually take precedence over the DNS system.

0
votes
0answers
17 views

Block a specific url in HOSTS file [duplicate]

I can block a website by editing the file hosts located in C:\Windows\System32\drivers\etcWindows 8.1 and adding 127.0.0.1 example.com at the end. But I cannot figure out that how can I block a ...
0
votes
0answers
20 views

Skyfonts messing up hostname

i installed Skyfonts on Windows10, and the stupid thing is overriding the local hostname. it does not matter what i enter in my hosts file, 127.0.0.1 will always resolve to local.skyfonts.com. even ...
-5
votes
1answer
99 views

How do I block domains using the hosts file on Windows?

I used to block domains on Windows using the hosts file like the following: 127.0.0.1 www.cnn.com However, now it is not working and the domains are resolving. $ nslookup www.cnn.com Non-...
0
votes
0answers
36 views

Is it possible to block a domain on linux without superuser access?

The easiest way I know to block a domain is to go add something like this to my /etc/hosts file: 127.0.0.1 facebook.com Boom, done. But I have to be a superuser. Which is a bit annoying, because ...
1
vote
1answer
144 views

Fake “.dev” domain added to hosts file for development purposes redirects to HTTPS in Chrome on Windows even when local dev server is not active

I am building an Express.js app locally. In order to test this in something other than localhost, I added the following entry to my hosts file: 127.0.0.1 mynewapp.dev Without even starting the ...
1
vote
1answer
53 views

Part wildcard in hosts subdomain possible?

On our server we've got a lot of redirects for specific subdomains, which always end in the same: 127.0.0.1 abc-thesame.domain.com 127.0.0.1 def-thesame.domain.com 127.0.0.1 xyz-thesame....
0
votes
0answers
90 views

Is it normal for a large HOSTS file where all entries point to 0.0.0.0 to take a very long time to update the DNS cache?

I have an old laptop (Core 2 Duo U9400 @ 1.4Ghz) which struggles with the modern internet. I wanted to try adding one of the exceptionally large (~900,000 entries) hosts files which are common to ...
0
votes
1answer
91 views

Windows 10: can't edit hosts, can't grant Administrator access to edit it, can't uncheck readonly mode

I can't edit c:/windows/system32/drivers/etc/hosts runing notepad as administrator: But notepad says I have no access rights: Can't change access rights: Tried changing access rights to etc and to ...
0
votes
1answer
89 views

NAT loopback and DynDNS

I've successfully configured DynDNS in my router and now I'm able to reach my home server from outside my local network using my custom domain. Using the very same domain I'm able to reach my home ...
0
votes
1answer
167 views

How to block distracting websites using hosts file?

Regarding the question, I've asked before and the feedback I received, I've done the following in order to block Twitter I ran command prompt as administrator and I entered the code ipconfig /...
1
vote
1answer
94 views

Powershell script to clear text after localhost line and add static hostname and current ip address to the file

Need to clear all text after the line 127.0.0.1 localhost host file in PowerShell. last line is the localhost entry in the host file after this line I would like to delete all text lines is it ...
0
votes
1answer
44 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
94 views

How do I disable the “Disable strict blocking for x.com” Temporarily/Permanently in uBlock Origin?

I've got a friend whose really bad at computers, and he asked me to do some stuff for him to make him more productive because he believes I'm a computergod, and I'm not, I only know how to delete your ...
0
votes
1answer
211 views

Redirecting domains in /etc/hosts

In my /etc/hosts file, I have the following line: 127.0.0.1 www.reddit.com When I open www.reddit.com in chrome, it still displays normally. When I open www.reddit.com in an a chrome incognito ...
1
vote
1answer
50 views

Redirecting/aliasing domain to localhost for development [duplicate]

How do I configure /etc/hosts so that if I go to google.com it's actually routed to my localhost:3000? I'm aware of similar questions. Here is what my hosts file looks like right now: ## # Host ...

15 30 50 per page
 Microsoft office activator |  windows activation crack |  windows product key |  windows 10 product key |  windows 7 ultimate product key |  windows 7 keygen |  activate office 2010 |  office Project keys |  project professional product key |  office 365 office 2016 office 2013 key |  office 2016 office 2013 key |  windows 7 professional product key |  windows 8 professional product key |  windows 10 professional product key |  office 2016 professional product key |