|
|
 |
 |
 |
 |
register |
bbs |
search |
rss |
faq |
about
|
 |
 |
meet up |
add to del.icio.us |
digg it
|
 |
 |
| It came from Redmond Windows OS tricks, tips, and annoyances. The latest security holes and how to patch them. Server setup, tuning, and hardening. |
 |
|
# 1

2008-05-29, 14:57
|
|
|
redirecting via IE
is there any way to set up an auto redirect for certain websites from the pc?
basically, i want to set it up so that anytime somebody tries to load up facebook on the pc, it will redirect them to whatever other URL i wish.
is this even possible?
cheers in advance guys!
Karni
|
# 2

2008-05-29, 20:33
|
|
|
Re: redirecting via IE
- Press Windows key + R
- type "notepad %systemroot%\system32\drivers\etc\hosts", hit Enter
- Press Ctrl+End to go to the end of the file
- On a new line, enter the following:
Code:
facebook.com otherdomain.com
or
Code:
69.63.176.140 (this is [one of] facebook's IP address[es]) otherurl.com
- Ctrl+S to save
- Exit
__________________
Trueborn Vorpal - I do things.
(irc.slashnet.org #winprog)
|
# 3

2008-05-30, 09:35
|
|
|
Re: redirecting via IE
erm, im probably doing it wrong but it did not work at all
|
# 4

2008-05-30, 10:06
|
|
|
Re: redirecting via IE
What line are you adding? Show it to me verbatim.
__________________
Trueborn Vorpal - I do things.
(irc.slashnet.org #winprog)
|
# 5

2008-05-30, 11:49
|
|
|
Re: redirecting via IE
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
facebook.com google.com
i assume there is an amusingly n00bish mistake in there, but i have also tried the second method, and i have added the www. before the URL as well. none of them work
|
# 6

2008-06-02, 00:49
|
|
Regular
|
|
Quebec, Canada
|
|
Re: redirecting via IE
It appears that my Vista will not let me hax it.
When I try to save this it says:
Cannnot create the C:\Windows\system32\drivers\etc\hosts file.
Make sure that the path and file name are correct.
|
# 7

2008-06-02, 08:00
|
|
|
Re: redirecting via IE
Holy shit, I'm sorry, man. I got it backwards.
Code:
otherdomain.com facebook.com
or
Code:
127.0.0.1 facebook.com
That's what you need to do. Reverse the entries and all should work.
__________________
Trueborn Vorpal - I do things.
(irc.slashnet.org #winprog)
|
# 8

2008-06-02, 08:37
|
|
|
Re: redirecting via IE
dont ya just love the word 'should'
i reversed them, and it still wont work, when i go to facebook, it still loads up. im trying to get it so www.facebook.com loads up google instead!
im running win xp using ie7. will this hax work in win2k as well?
|
# 9

2008-06-02, 10:00
|
|
|
Re: redirecting via IE
64.233.167.99 is what I get for google.com
Code:
64.233.167.99 facebook.com
__________________
Trueborn Vorpal - I do things.
(irc.slashnet.org #winprog)
Last edited by Trueborn Vorpal; 2008-06-02 at 10:00.
Reason: code tags
|
# 10

2008-06-02, 13:02
|
|
|
Re: redirecting via IE
nope, still not having it.
might this be to do with the server computer? if i do this on the server, will it disable everyone's access?
|
This thread continued for 2 pages in the real archive, 11 posts total - only page 1 survived here.
| Thread Tools |
 Show Printable Version
 Email this Page
|
| Display Modes |
Linear Mode
 Switch to Hybrid Mode
 Switch to Threaded Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |
 |
To the best of our knowledge, the text on this page may be freely reproduced and distributed.

totse.com certificate signatures
|
 |
 |
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
|
 |
 |
 |
 |
|
|