At the moment I am building 3 sites Under 1 instance of Umbraco, the only way I can seem to view the sites is by setting the "Culture and Hostnames" to the local host and the correct port number.
So to work on each site, I just swap the local host port say
Correct way to setup 2 sites under one installation
I have installed Umbraco 13. Created a primary site and all runs under localhost:1234
I would now like to create a second site under the same installation where I can reach the site by going to localhost:1235
Is that possible if so how should I be carrying this out?
Long term requirement would be to have both of these running with IIS redirects to each domain (add they would be different but they one installation)
At the moment I am building 3 sites Under 1 instance of Umbraco, the only way I can seem to view the sites is by setting the "Culture and Hostnames" to the local host and the correct port number.
So to work on each site, I just swap the local host port say
say local host set to "localhost:12345"
site 1: https://localhost:12345 site 2: https://localhost:12344 site 3: https://localhost:12346
then to edit site 2 I change the local host port value of site 1 and then set site 2 to localhost:12345.
When you deply to IIS set the host header and make sure that the Culture and Hostnames match the correct host header on IIS and that should work.
The above is a caviat if you are hosting it your self, if your using Umbraco's cloud hosting the god knows as I dont use that.
Regards Darren
You could potentially simplify it by having multiple sites as first nodes. For example:
Content
Site 1 is the homepage for one site, and site2 is the homepage for a different site.
Goodbye ports :)
is working on a reply...