0

Currently I am working on umbraco 7 and we need to add other umbraco instances under it. let's take an example we have three umbraco instances.

1) http://example.com 2) http://example2.com 3) http://example3.com

now we wants something like below:

1) http://example.com 2) http://example.com/example2 3) http://example.com/example3

I have tried to create virtual directories and applications but we still face some issue and it's not working. some errors are mentioned below.

http://screencast.com/t/qzLloAm21qv

with application http://screencast.com/t/gk7f17wB3TE after commenting highlighted line http://screencast.com/t/s7H9C3FpwXRS

Note: I have also put example2 & example3 folders inside and outside of main instance directories.

syed Ahsan Jaffri
  • 1,160
  • 2
  • 14
  • 34
  • Why on earth would you ever want to do that? You can easily have different sites (with entirely different templates and different URLs) in the same Umbraco instance - and if it's something to do with user management, you can use different start nodes for different users. – Jannik Anker Aug 26 '16 at 11:01
  • @JannikAnker on earth client have already developed and sites are live for around a year :) Now he wants to merge different domains into a single domain without sub-domain as mentioned above. – syed Ahsan Jaffri Aug 27 '16 at 07:07
  • Oh, alright then :-P To me it looks like some config inheritance mess, look here to see how you (might) fix it: http://stackoverflow.com/q/782252/3668031 – Jannik Anker Aug 27 '16 at 07:13

1 Answers1

0

Have you considered using a reverse proxy to handle this? Basically, you set up a "virtual folder" that is hosted on a different server.

I've not set one up myself, but here is a good guide that indicates that it's possible to do this with Umbraco.

Mike B
  • 12,768
  • 20
  • 83
  • 109
  • Was going to suggest this (I wrote the blog post that you linked to). This gets round the issue of the nested config files, and seems to work much better than having it in a nested virtual directory. Depending on the complexity of the site, it can be quite fiddly to set up properly though. – Tim Sep 01 '16 at 14:30