Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Show alertbox in blocked website with hosts file

21 Jun 2017   #1
Freddy33

Windows 7 Ultimate x64
 
 
Show alertbox in blocked website with hosts file

Hi guys

I would like to show any message / alertbox on visiting
a blocked website using the hosts file.

If no possible, maybe redirect the blocked website
to an another one, always using hosts file.

If no possible, maybe displaying any image.

Many thanks in advance huys


My System SpecsSystem Spec
.
21 Jun 2017   #2
samuria

win 8 32 bit
 
 

Welcome to the forum. If you put the web address in the host file pointing it to another IP that would do it
My System SpecsSystem Spec
21 Jun 2017   #3
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

In the past I've used these programs to display custom images for hosts file blocked sites:

This one lets you choose your own image:

eDexter Download

I used this:
Show alertbox in blocked website with hosts file-blocked.jpg
HostsServer - abelhadigital.com

is designed to be used alongside HostsMan.

I found both (Edexter and HostsServer) not to be worth the effort and currently don't use either.

Currently I don't worry about what is displayed when a site is blocked just as long as it's blocked.


My System SpecsSystem Spec
.

Reply

 Show alertbox in blocked website with hosts file




Thread Tools




Similar help and support threads
Thread Forum
Website blocked in Hosts shows IIS page..
hi there, I blocked a bunch of sites via HOSTS file, everything seems to work fine, just a question, why when I try one of those sites I get the IIS page? is that because ive installed the SEO toolkit with the IIS Manager thing on my win 7? thanks, Gab
Network & Sharing
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
ftp website blocked for one user only
Win 7 home. I get: "403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied." when trying to get to a ftp web site. Other user account on this machine has no problem. Both accounts are now admin; this (problematic)...
Browsers & Mail
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
Website blocked - IP&Domain
I'll try to be as straight forward as possible: 404 when visiting website in windows 7 Hosts file looks fine - # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. #
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App