We help IT Professionals succeed at work.

Redirecting a website.

Medium Priority
417 Views
Last Modified: 2013-12-24
I have a user who frequently go to a website which is becoming a bad habit.
Let's say he goes to www.bbb.com, Id like it to redirect to a warning page or any page
like www.zzz.com or another url Is that possible?
Comment
Watch Question

Paul MacDonaldDirector, Information Systems
CERTIFIED EXPERT

Commented:
You can rig this in DNS, if you run your own server.  Alternately, you can set up a proxy.  Lastly, if it's just one user/computer, you can edit the hosts file on that machine to redirect requests.
You could set up a proxy (if you don't have one already) and filter this site from there.

ISA Server for instance, or Squid (Free Open Source).

Greetings.

Author

Commented:
Thank you.
Iuse windows XP and I don't know the steps for creating a host for that purpose. Let's say id like Yahoo.mail redirect somewhere.
Paul MacDonaldDirector, Information Systems
CERTIFIED EXPERT

Commented:
In C:\Windows\System32\Drivers\etc is a file called hosts.  If you edit that file, you can create an entry in the form of <ip address> <tab> <host name>.  

So you can do something like:
127.0.0.1     yahoo.com
...so that any attempt to go to yahoo.com results in the user going nowhere.
The user can still modify the host file, or just enter the IP address to go to "yahoo.mail" or whatever. You need to get in the middle. It's my opinion.

Greetings
Paul MacDonaldDirector, Information Systems
CERTIFIED EXPERT

Commented:
True. Or use a proxy, or use his phone, or any of a thousand ways to violate company policy.  The only surefire way to stop him is to fire him.

I think - if you have the resources - that if you redirect hiim to a page with a klaxon blaring, red lights flashing and a warning that his access to yahoo.com (or whatever) has been logged and reported to the IT department and his supervisor, that will probably be enough to cool his heels.

Author

Commented:
right now I prefer to do the hosts or proxy approach. Can you show me an example or template that implements that? Firing is not an option.

Author

Commented:
I tried to go to the host file and edit it as told type "127.0.0.1     yahoo.com" but
nothing  change., I can still go to yahoo.com
Are you currently using a proxy? Maybe you have to tell IE (or whatever you are using) to bypass proxy for that specific site.

Commented:
If you post your exact network scnerio, a correct solution can be provided like

1. Proxy
2. Firewall
3. Router level blocking

etc

Author

Commented:
How would I  find out my Proxy server? I need assistance on this.
Director, Information Systems
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Im not the NA. Sorry I need steps how to do it.
Paul MacDonaldDirector, Information Systems
CERTIFIED EXPERT

Commented:
Item 1) describes how to check for the default gateway of your computer.  If you're using a proxy for all traffic on your network, it would be that computer.

Item 2) describes how to check for a proxy server setting in Internet Explorer, in case the browser itself is configured to use a proxy.

How you would go about configuring a proxy server - if you have one - depends on the proxy server you have.  Is there no network administrator/IT manager around?  Sorry, I'm trying to help as much as I can, but without knowing more about what you're working with it's difficult.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.