homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Redirecting to new URL via old URL on local machines
How to let users type a domain, and have it forward them elsewhere

10+ Year Member

Msg#: 7497 posted 12:02 pm on Mar 16, 2004 (gmt 0)

On our local network, I need to set something up so that when www.domain.com is entered (in IE, as thats the only browser used internally) it will redirect to www.domain.com/newdomain or www.newdomain.com - the nature of the work means I can't just throw a [js/meta/ss] redirect on the domain.com, because I don't have access to that department's domain set.
Its stupid.
I've thought about hosts and lmhosts files, but I can't seem to get it to work, at any rate (hosts doesn't let you use names instead of IP addresses, for obvious reasons) but I'll keep plugging away at it.

Can anyone suggest anything? It must be doable, because in the past I've had the peons moan after they've installed spyware which has hijacked certain URLs. (One person seems to keep reinstalling the spyware, the churlish prat)



WebmasterWorld Senior Member 10+ Year Member

Msg#: 7497 posted 2:32 pm on Mar 16, 2004 (gmt 0)

If you do local DNS resolution through a proxy server, you can point to the correct IP there. Or you can edit the hosts files to point to the correct IP. What's wrong with using the IP?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved