Copied to clipboard

Flag this post as spam?

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


  • Jose A. Villaro M. 3 posts 22 karma points
    Jan 08, 2020 @ 19:28
    Jose A. Villaro M.
    0

    How to create multiple sites in one Umbraco V8 instance

    Hi,

    It's been a while since I worked with Umbraco and I´m getting into it again and v8 is just awesome but I´m having a bit of a problem creating multiple websites and testing them in localhost.

    I've tried to find a explanation/guide/tutorial to do this and all I get are for versions previous to v8 and for example when I try to add and set to true

    Server Error in '/' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    I create the sites under IIS and add the Culture and Hostnames for each site, for example: localhost:1234 localhost:4321

    I remove the

    But I just can´t see the sites working. I don't know if I'm missing something, if there are some changes I'm not aware of.

    Can someone help me out, give me some pointers or link me a guide or something?

    Thanks in advance,

  • Dmitriy 152 posts 537 karma points
    Jan 09, 2020 @ 03:44
    Dmitriy
    0

    Seems you run an IIS Express version on localhost when you debug your project, right? By default, it launch an instance with a single port, so you can't connect to the second port you set.

    All these things should work on live with a real domains.

    By the way, if you have to check it on localhost, you can setup several fake local domains. Unfortunatly, I don't remeber how :)

  • Daniel Gillett 63 posts 140 karma points
    Feb 14, 2020 @ 19:33
    Daniel Gillett
    0

    Hello,

    One way to set up your "fake" local domains is using the host file in windows system dir. ...also, I would not create the full .com extention and instead use something like

    hope this help.

    Daniel

Please Sign in or register to post replies

Write your reply to:

Draft