Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Medium Trust Install - url's off by one level View modes: 
User avatar
Member
Member
genslow - 5/19/2010 10:07:41 AM
   
Medium Trust Install - url's off by one level
Greeting -

I recently installed Kentico to my WebHost4Life account following the instructions for an install to a medium trust environment. I started by creating a new folder in my account called \kentico then setting that as an IIS application directory. I then mapped a sub-domain name ( like kentico.mydomain.com) to that directory. I tested this before the Kentico install by putting a sample page in the \kentico folder. http://kentico.mydomain.com/testpage.aspx came up fine.

Now that I have the Kentico files installed to that directory, every link is off by one level. Instead of http://kentico.mydomain.com/CMSPages/logon.aspx, I get http://kentico.mydomain.com/kentico/CMSPages/logon.aspx. The physical folder name of the IIS application is getting injected in every link.

I'm not sure what to do next to resolve this. Any assistance would be appreciated.

Thanks,
Greg

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 5/28/2010 7:52:39 AM
   
RE:Medium Trust Install - url's off by one level
Hello,

I'm not familiar with WebHost4Life hosting, however it seems that you will need to upload Kentico CMS web project folder files directly to the root of your hosting account. I'm not sure if it's possible to check the IIS settings on your shared hosting, however it should work then automatically without the "virtual directory".

Best Regards
Ondrej Vasil

User avatar
Member
Member
genslow - 6/4/2010 8:59:48 PM
   
RE:Medium Trust Install - url's off by one level
Problem Resolved. WebHost4Life had a HttpRedirect module misconfigured. All of my subdomains were resolving back to the root folder. Once they corrected this, Kentico worked fine.