How to have multiple domains pointing on the same Umbraco 9 installation?
Hi,
I have a site running and working fine on sub1.mydomain.com, but when I try to load sub2.mydomain.com (which points on the same Umbraco solution) I get this error:
ASP.NET Core does not support multiple apps in the same app pool
How can I achieve what I want - one Umbraco 9 installation running multiple domains and/or subdomains?
I suspect you need to add the second (sub)domain in a different way. I'm not familiar with the Simply control panel, but in Plesk you would add a 'domain alias' in order to do this. In this case it doesn't (and shouldn't) ask you select a folder, but just to select an existing website. This, in effect, just adds a domain binding to an existing site to accept traffic from that (sub)domain.
How to have multiple domains pointing on the same Umbraco 9 installation?
Hi,
I have a site running and working fine on sub1.mydomain.com, but when I try to load sub2.mydomain.com (which points on the same Umbraco solution) I get this error:
How can I achieve what I want - one Umbraco 9 installation running multiple domains and/or subdomains?
Hi Martin,
How do you configure your second domain ? As a seperate website in IIS or with a additional http binding on the same website ?
Dave
I do it from my hosting providers (Simply.com) control panel where all I can do is
Type the domain / subdomain (i.e. sub2.mydomain.com )
Choose folder to point it to (I chose "sub1" which is the folder containing the Umbraco solution where sub1.mydomain.com runs from now)
My guess is that it corresponds to "additional http binding on the same website" in your terms above.
Hi Martin,
I think you should reach out to your hosting provider to see what they are doing behind the scenes.
Dave
Think, you are right. Thanks!
I suspect you need to add the second (sub)domain in a different way. I'm not familiar with the Simply control panel, but in Plesk you would add a 'domain alias' in order to do this. In this case it doesn't (and shouldn't) ask you select a folder, but just to select an existing website. This, in effect, just adds a domain binding to an existing site to accept traffic from that (sub)domain.
HTH
t
is working on a reply...