Hosting Sitefinity project on staging server
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
www.testing.info/about-us
But it should be : www.testing.info/.../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.
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