Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to take a user's website request that looks like:

prod.site1.com/?APP_ID=123

But have it appear to the website as:

prod.webapp.com/?APP_ID=123

While keeping:

prod.site1.com/?APP_ID=123

in the user's address bar?

share|improve this question

migrated from stackoverflow.com Jul 29 '10 at 8:58

This question came from our site for professional and enthusiast programmers.

    
Please consider a more descriptive title than "how can I do that". :) –  Cumbayah Jul 29 '10 at 8:58

1 Answer 1

up vote 1 down vote accepted

One way is to configure VirtualHost for prod.webapp.com and VirtualHost for prod.site1.com. And in the prod.site1.com configuration do reverse proxy to prod.webapp.com.

Useful howto is here: http://www.apachetutor.org/admin/reverseproxies

share|improve this answer

Your Answer

 
discard

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.