Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

If my website has an IP address of X.X.X.X, then can I have a URL that appears to be a subdirectory, such as, be mapped to a totally different IP address (say, Y.Y.Y.Y)?

If not, why? If so, how and what kindo of DNS configuration does this require?

share|improve this question
Can you explain why you want to do this, there are similar solutions you can do (redirect, virtual directories, ect...) that may work, but we need to know more about what you are trying to accomplish to be able to tell you which one will solve your underlying problem. – Scott Chamberlain Jun 3 '13 at 19:58
up vote 3 down vote accepted


This is because the part that deals with IPs (DNS) does not know anything about the request URL.

When your web browser tries to go to, it first pings the DNS server and asks who is, and gets back X.X.X.X. It then asks X.X.X.X for /fizz.

The problem is the DNS server (which translates into X.X.X.X) never hears about the /fizz part of the URL at all, so it cannot return a different IP for it.

It can return a different ip for a different subdomain, though: -> X.X.X.X -> Y.Y.Y.Y
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .