Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Jimmy 13 posts 102 karma points
    May 21, 2024 @ 10:07

    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)

  • Darren Hunter 113 posts 204 karma points
    May 21, 2024 @ 13:16
    Darren Hunter

    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

  • Bryna 74 posts 260 karma points
    29 days ago

    You could potentially simplify it by having multiple sites as first nodes. For example:


    Site1 Alias:https://localhost:12345/site1 Site2 Alias:https://localhost:12345/site2

    Site 1 is the homepage for one site, and site2 is the homepage for a different site.

    Goodbye ports :)

Please Sign in or register to post replies

Write your reply to: