Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to tell your router to redirect specific domains to a specific IP? The router is an Airport Extreme, unfortunately. If it cant be done with this specific router, are there any routers that can do this?

share|improve this question

migrated from serverfault.com Dec 9 '11 at 11:32

This question came from our site for system and network administrators.

3 Answers 3

up vote 1 down vote accepted

I have configured many routers and have never seen a feature like this in off the shelf routers. As far as I know you only get these types of features on high-end enterprise routers like SonicWall and Cisco routers. These range in prices, but the SonicWall I used had this feature and was about a $3,000 router.

This is really an advanced task your trying to accomplish. If your up for it you can buy a router compatible with DD-WRT or OpenWRT and get that type of feature for under $200 buck. you gotta flash it and then go from there.

@Dan offers another option which is software based, which may be the easiest method depending on how large of a network and how many servers you have behind that router. You may be able to configure Apache as a proxy and forward request to other internal Apache servers.

Apache mod_proxy - http://httpd.apache.org/docs/2.0/mod/mod_proxy.html

share|improve this answer
Is this something that PFSense might be able to do? I've used it as a router before, but it's been some years since I last messed with it. –  Melikoth Dec 9 '11 at 13:22
I never used PFSense before, but skimming thru the docs and wiki, PFSense appears to be much more advanced than your standard router. –  Nickiler Dec 9 '11 at 16:09
Does anyone know if its is actually possible to do this on a SonicWall, what the feature is called, and how to determine which models support it? –  Robert Noack Jul 27 at 17:20

No, to be frank. Definitely not with an Airport Extreme, and I doubt with any other kind of consumer or prosumer router. This isn't what routers are designed for - that kind of 'routing' needs to be done by software on an Operating System.

To be honest, I'm not even sure if there's ANY router that would do - but I'm always happy to be shown.

Edit: Wait, I assume you're talking about redirecting INCOMING connections? What is it you're trying to achieve exactly?

share|improve this answer
Yeah, incomming connections. I want two domains pointed at the same ip but be hosted on 2 different machines. –  oskob Dec 9 '11 at 11:39
@oskob: That's not going to work in general. Incoming packets have an IP address on them, but no hostname. So, if you have a.example.com and b.example.com both resolve to, then you can't tell from an incoming packet to what hostname the remote side used. HTTP is a special case; you can set up a reverse proxy. That's not a router task, though. (wrong OSI level) –  MSalters Dec 9 '11 at 15:40

No, routers don't support redirecting on domain names since they work on layer 3 of the OSI model. That means that they route network traffic based on IP-adresses and IP-adresses don't contain host-names nor domain-names since that's done on layer 5 (session) of the OSI model, see: http://en.wikipedia.org/wiki/OSI_model If you want to route to domains you probable have to think of using a vlan or subnet. Those settings you likely don't find on cheap routers.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.