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.

Some web services calls my web application(www.myapplication.com/external_update_handler). I need to test those requests locally, so I'd like to know your opinions about how can I "redirect" those requests to my localhost dev machine(that is outside of my web aplication domain) so I can debug. Probably it's needed a service/server to get those external requests and a desktop application that sends it to localhost:5555/external_update_handler, but I have no idea where to start and simpler options.

share|improve this question
    
You didn't tell us what server do you use / in general you need to setup reverse proxy. In case your dev machine is accessible from the server, the setup it simple... can be more specific on apache setup –  Kamil Šrot Nov 9 '12 at 20:57
add comment

1 Answer

Either update your code to hit the local version of www.myapplication.com/external_update_handler on the URL/Host it is accessible on, or you can configure the machine running the web service (the ones making the outbound calls to your web application) and configure a hosts file http://en.wikipedia.org/wiki/Hosts_(file) to force the machine looking up your web app to resolve the domain to a different IP, likely the one that resolves to your local environment,.

share|improve this answer
add comment

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.