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

Forums / General Discussions / Path problem after moving site to new server

Path problem after moving site to new server

11 posts, 0 answered
  1. Geoff
    Geoff avatar
    25 posts
    Registered:
    17 Jul 2009
    17 Oct 2011
    Link to this post
    Hi,

    I have assumed responsibility for a Sitefinity 4.1 site. It was originally here:

    http://sp-ausnet.btsau.com.au/SP-AusNet/
    The new location is here:
    http://learningus.bts.com/sites/SP-AUSNET/
    (note the addition of the extra "sites" top level folder)

    The CMS system seems to work fine in the new location, but browsing the
    live site does not. After logging in, the log in page redirects to:
    http://learningus.bts.com/SP-AusNet/home
    which gives a 404 error, since itis missing the"/sites/" portion of the URL.
    When changing the path of the site like this, what things need to be changed
    in the configuration? -I obviously missed something.

    Cheers,
    Geoff
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    20 Oct 2011
    Link to this post
    Hello Toby Peters,

    Please make sure you have configured the website correctly in IIS as it looks that you are using a subdirectory /virtual directory / for it, also check if there are any path related declarations in the webconfig file which are set for the old website. There are not any specific changes you need to make as long as follow our documentation. I have recorded a video which displays the steps you need to take when creating a site as a virtual directory.

    Kind regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Geoff
    Geoff avatar
    25 posts
    Registered:
    17 Jul 2009
    20 Oct 2011
    Link to this post
    Hi Victor,

    Thanks for the video. The site was not configured as a virtual directory.
    I set up a virtual directory for it and it works OK now.

    So is it true that a Sitefinity site must be a virtual directory if it is not going
    to be set  up in the root folder of the web site?

    Cheers,
    Geoff
  4. Sarah
    Sarah avatar
    1 posts
    Registered:
    21 Oct 2011
    21 Oct 2011
    Link to this post
    Had the same problem
    Thank you for your help
    All the best
  5. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    21 Oct 2011
    Link to this post
    Hello Geoff,

    Sitefinity works as a website, the video demonstrated how to deploy a website as virtual directory as your link / sites / suggested you had it set as virtual directory.

    If you have set your website to be under the main domain/site the best option is to use the virtual directory as shown in the video. However if the project is located in a folder which is associated with your domain ( not a directory like http://mydomain.com/site2) you can set it as a website in IIS.

    All the best,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  6. Geoff
    Geoff avatar
    25 posts
    Registered:
    17 Jul 2009
    21 Oct 2011
    Link to this post
    Hi Victor,

    Thanks for the response. I understand how it works now.

    Cheers,
    Geoff
  7. Geoff
    Geoff avatar
    25 posts
    Registered:
    17 Jul 2009
    24 Oct 2011
    Link to this post
    Hi,

    I am having further problems with this site after moving it to the new server.
    Specifically, the custom templates do not seem to be working correctly. In
    the .master file for the templates there are place holders for navigation
    controls, e.g. 
    <asp:ContentPlaceHolder ID="globalNav" runat="server"></asp:ContentPlaceHolder>

    But these are not showing up when I attempt to edit the template under template management,
    consequently, the site is pretty much broken.

    Any suggestions as to how to fix the template behavour?

    Cheers,
    Geoff
  8. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    25 Oct 2011
    Link to this post
    Hi Geoff,

    Can you send us the templates so we can observe the code locally and diagnose the problem.

    Kind regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  9. Geoff
    Geoff avatar
    25 posts
    Registered:
    17 Jul 2009
    26 Oct 2011
    Link to this post
    Hi Victor,

    Thanks for the responsre, but we finally figured it out.

    The client had used a rather clever (but not clever enough), style sheet
    (yui from Yahoo). It was partly broken and causing all sorts of problems.
    Once we removed that .css file from the Theme, everything popped back
    into place.

    Cheers,
    Geoff
  10. Kate
    Kate avatar
    2 posts
    Registered:
    17 Nov 2015
    17 Nov 2015 in reply to Victor Velev
    Link to this post

    Hello Victor,

    We have a Sitefinity website in the root directory called Sitefinity (in my screenshot) and we are trying to move it to Sitefinity/TPCAuth.  Per your video, is the only way to accomplish this to create a new sitefinity project under this virtual directory?

     

    Thank you for your help,

    Kate

  11. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    20 Nov 2015
    Link to this post
    Hi Kate,

    There is no need to create new Sitefinity project but you need to point to the current one physical path where your project is.

    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
     
11 posts, 0 answered