Path problem after moving site to new server
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
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
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
Had the same problem
Thank you for your help
All the best
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
Hi Victor,
Thanks for the response. I understand how it works now.
Cheers,
Geoff
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
>
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
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
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
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