0

I have a self-hosted Web API (ASP.NET Web API). Now let's assume I would like to deploy it on a machine which already has a web server running. In order to share a domain, do I have to use a reverse proxy? I would prefer NOT to change anything on the existing installation!

At the end I would like to see:

www.example.com/ThisIsAnExistingWebSite 

www.example.com/api/ThisWouldBeMyWebAPI
Dunken
  • 8,481
  • 7
  • 54
  • 87
  • 1
    Use `mod_rewrite` and make the path `/api/...` point to a different machine. Or yet better, use a subdomain `api.example.com`. What webserver and system is the existing site running on? – Daniel W. Apr 09 '14 at 08:33
  • The existing site runs on IIS. – Dunken Apr 09 '14 at 08:35

0 Answers0