Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Background, Running windows 7, FF3.5, and am an admin. I recieve emails from an internal company service that has links. The problem is the links don't work from my office. If the resource is, I need to go to h t t p:// (spaces in http because i am only allowed one link...)

The gist is a need to map a domain to an ip AND port. I am open to ideas that are system wide, browser (some kind of plugin?) or even somehow modifying the email as it comes in to outlook. I am pretty technical so don't hold back. Any ideas?

share|improve this question

If it was just straight IP mapping, then using your hosts file would do the job fine, but changing the port as well is somewhat more complex. I'm not aware of any local software that would let you do this, what I'd do is to set up a proxy/firewall between you and the remote server (I've used squid in the past, which is also caching), and setting up rewrite rules on there to map one url/port to another.

If these are links that can be accessed from the internal network normally, then perhaps connecting in with a VPN would be the simplest solution?

share|improve this answer

Are you getting your email via the web or with a client?

If it is over the web, and because you are using Firefox, you can use the GreaseMonkey AddOn. You will have to code your own script to get what you're asking for, but here is one to get you started: URL fixer

share|improve this answer

I've used the FoxyProxy plugin for FireFox in the past in these situations, and it's worked out pretty well. It lets you map a proxy for FF only, leaving the rest of your network settings in tact.

Let me know if that works out for you. Good luck!

share|improve this answer
Can't you already do that by going to Tools->Options->Advanced->Network->Settings ? Thats not exactly what I want. Am I missing something? – DanInDC Jan 8 '10 at 22:44
Yes, and no. FireFox can ignore the system proxy settings if you choose, and FoxyProxy is an extension on that to let you easily change back and forth between proxies. I find the tools>options route rather cumbersome, and with FP I can just right-click on the status bar and change my proxy for FF without changing the system proxy. In addition, FoxyProxy lets you map out certain patterns, so you can create a "work" proxy, but have all be changed to – Steiv Jan 10 '10 at 17:50
Any input on how to do that? I just installed FoxyProxy standard. I see I can add patterns, but no where to add a mapping... – DanInDC Jan 11 '10 at 16:31

Both of the following two applications will do what you want:

Fiddler (Free)

Charles Debugging Proxy (Shareware)

You can map hosts/ip/url etc with either tool. I just went through the same issue a few days ago.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.