Path problem after moving site to new server

Posted by Community Admin on 03-Aug-2018 20:14

Path problem after moving site to new server

All Replies

Posted by Community Admin on 17-Oct-2011 00:00

Hi,

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

sp-ausnet.btsau.com.au/.../
The new location is here:
learningus.bts.com/.../
(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:
learningus.bts.com/.../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

Posted by Community Admin on 20-Oct-2011 00:00

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

Posted by Community Admin on 20-Oct-2011 00:00

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

Posted by Community Admin on 21-Oct-2011 00:00

Had the same problem
Thank you for your help
All the best

Posted by Community Admin on 21-Oct-2011 00:00

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

Posted by Community Admin on 21-Oct-2011 00:00

Hi Victor,

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

Cheers,
Geoff

Posted by Community Admin on 24-Oct-2011 00:00

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

Posted by Community Admin on 25-Oct-2011 00:00

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

Posted by Community Admin on 26-Oct-2011 00:00

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

Posted by Community Admin on 17-Nov-2015 00:00

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

Posted by Community Admin on 20-Nov-2015 00:00

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
 

This thread is closed