Copied to clipboard

Flag this post as spam?

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


  • Tarunjit 103 posts 146 karma points
    Jul 29, 2014 @ 14:04
    Tarunjit
    0

    Managing Two Umbraco Sites On Same IIS

    Hi,

    We have the requirement to manage two umbraco sites on the same IIS. For this we have the done the following steps :-

    a. Created an Umbraco Site web site named "umbraco.local" on my IIS and configured database named    "Umbraco" for thi site.

    b. After successfully testing site "umbraco.local" on url "http://umbraco.local/umbraco/umbraco.aspx", we simply copied the content of directory of site "umbraco.local" on to folder "umbraco.second".

    c. Then we created a new application on IIS and named that site as "umbraco.second".

    d. Also we took a backup of earlier copy of "Umbraco" database and restored in our database as "UmbracoSecond".

    e. Also changed connectionstring in web.config file of "umbraco.second" site to point to database "UmbracoSecond"

    f. On opening url "http://umbraco.second/umbraco/umbraco.aspx" we got an error "This webpage is not available"

    Can any one please tell me where i am going wrong? Or what steps should we exactly follow to manage two Umbraco sites on same IIS.

    Regards

    Tarunjit Singh

     

     

  • Tarunjit 103 posts 146 karma points
    Jul 29, 2014 @ 14:29
    Tarunjit
    0

    Hi All,

    In continuation to the issue posted in my last comment. Here is the error message which i am getting in Internet Explorer on opening url "http://umbraco.second/umbraco/umbraco.aspx":-

    This page can’t be displayed
    • Make sure the web address http://umbraconesites is correct.
    • Look for the page with your search engine.
    • Refresh the page in a few minutes.
    • Check that all network cables are plugged in.
    • Verify that airplane mode is turned off.
    • Make sure your wireless switch is turned on.
    • See if you can connect to mobile broadband.
    • Restart your router.
    Can any one please help me on this?
    Regards
    Tarunjit Singh

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jul 29, 2014 @ 14:30
    Sebastiaan Janssen
    0

    You probably just need to republish your content, does the backoffice work?

    If it does then right-click on "CONTENT" en republish:
    enter image description here

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jul 29, 2014 @ 14:31
    Sebastiaan Janssen
    0

    Guess not.. ;-)
    Where does http://umbraconesites come from?

  • Niels Lynggaard 192 posts 550 karma points
    Jul 29, 2014 @ 14:43
    Niels Lynggaard
    1

    Hi Tarunjit

    Sounds like you forgot to put the URL into your local .hosts-file so that your machine knows where to find the site (DNS?) - Isn't the error the same as if you write http://whatever.local ?

    The hosts-file can be found in c:/windows/system32/drivers/etc

    Alternatively if you have an in-house DNS you need to set up the proper settings so that you can perform the url-lookup.

    Cheers,

    Niels

  • Tarunjit 103 posts 146 karma points
    Jul 29, 2014 @ 14:47
    Tarunjit
    0

    Hi Janssen,

    Thanks for the help. http://umbraconesites is a typo mistake.

    As per your suggestion i opened my site "http://umbraco.local" and republished my site contents but still "http://umbraco.second" site is not working. I am getting the same error.

    More over it should not work as site "http://umbraco.second" has the different physical virtal directory as compared to site "http://umbraco.local" and also have different database, so republishing content in "http://umbraco.local" should not work for "http://umbraco.second". Hope i am able to clearly share my problem with you.

    Can you please see what i am missing two make two umbraco sites with different urls, different physical virtual directories and different databases to work on the same IIS server. Out of these two one web site with url "http://umbraco.local" is working fine.

    I have already shared the steps i have taken to create these two web sites with different url, different physical virtual directories and different databases on same IIS.

    Regards

    Tarunjit Singh

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jul 29, 2014 @ 15:13
    Sebastiaan Janssen
    0

    Call me Sebastiaan.. :-)

    Did you have a look at Niels' suggestion as well, to check the hosts file or the DNS server?

Please Sign in or register to post replies

Write your reply to:

Draft