Can I have a subdomain of php application on asp.net application -


i have asp.net web application hosted , add sub-domain (or sub-directory) , run/host php application in it.

how this?

a subdomain nicer technical standpoint:

  • you make dns route subdomain.yourdomain.com different server yourdomain.com
  • you add different iis bindings subdomain.yourdomain.com , yourdomain.com in iis.

for sub-directory you'd have run php in iis well, here guide in how set up: can run php website in iis.

you run php on apache , dotnet in iis. downside: if try run both apps on 1 server, 1 (iis or apache) can listen http traffic on port 80 (the default port). you'd have host 1 on different port (eg port 81: yourdomain.com:81) wouldn't advice production website.

you make tiny application receives every request , forwards http request right application on different port. called reverse proxy.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -