+1-888-365-2779
Try Now
More in this section

Forums / Deployment / Hosting Sitefinity project on staging server

Hosting Sitefinity project on staging server

2 posts, 0 answered
  1. Sweta
    Sweta avatar
    2 posts
    Registered:
    05 Mar 2015
    08 Feb
    Link to this post

    I am hosting sitefinity project on staging server on which already multiple projects are hosted. 
    The url created on staging is :  www.testing.info/sitefinityproject
    When I click on any link on the page, then it redirects to 
        http://www.testing.info/about-us
    But it should be : http://www.testing.info/sitefinityproject/about-us

    I cannot find links to pages and images while running the website.
    I cannot host the project on root i.e. as a new website.

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Sep 2016
    10 Feb
    Link to this post
    Hi Sweta,

    In order to run Sitefinity as a child application, you need to define the sub-application - in the IIS Manager select your site on the left pane, right-click on it and select "Add Application...". From here select the URL path to your ASP.NET application, where the code resides and what application pool you want to use.

    Then you need to update the Sitefinity's project web.config file. In Sitefinity context, it is not sufficient to use <location inheritInChildApplications=”false”> - you must also add the <clear> and <remove> tags in the web.config file of the child application. You can check the articles here for more information about Sitefinity instance as parent or child:
    http://docs.sitefinity.com/run-a-sitefinity-instance-as-parent-or-child-of-an-asp-net-application
    http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-create-sub-applications-inside-a-sitefinity-website

    I hope this helps.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered