Mobile app version of vmapp.org
Login or Join
Ann8826881

: Point subdirectory to seperate website in IIS7 (hosted on same server) I have 2 websites on the same server in IIS7. These websites are required to be separate (Application Pools will not

@Ann8826881

Posted in: #Dns #Domains #Iis7

I have 2 websites on the same server in IIS7. These websites are required to be separate (Application Pools will not suffice). I have a single domain and am not able to create subdomains. Because of this I am only able to access Website A. Can I point a subdirectory in Website A to Website B?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

1 Comments

Sorted by latest first Latest Oldest Best

 

@Looi9037786

Yes. Just create a new application with the desired sub path under the main site. The new application can be run under a separate application pool.

Note that there may be fixes you need to make to the second application, because it is running with a sub path. If it generates any absolute URLs or server-relative URLs, they must be generated with that in mind, or things may end up trying to go to the main application.

We always develop all our applications at a sub path and with a nonstandard port to make sure the code works in these scenarios.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme