But you should of course make sure that Umbraco is supported by the host.
To deploy on a shared host I think I would to the following
1) Make a clean installation of Umbraco
2) Check that it's possible to login and everything seems to be fine
3) Copy over all the files (Be aware not to overwrite the web.config with your local one)
4) Make a database dump, which should be imported to the SQL server of the shared hosting somehow. (Think this could turn out to be the most tricky part depending on your own database knowledge and what DB version etc. is being used).
I was asking this question because I read that Umbraco, in the past, could not run on a shared host because it didn't support medium trust.
What I normally do when deploying an Umbraco site on my own server, is copying the webfolder and de sql files (.mdb, .log), and then configure the connection string in the web.config file to let it point to the new database. So I never do a clean install of Umbraco on the production server. Is this necessary on a shared host?
I run on a shared host just fine. But my host also allow's full trust I think. There is a setting in the web.config for medium trust in 4.5.2+ I believe. I don't use SQLCE, but probably should since I'd just need to copy the whole folder up and I'd be good.
You're right. Before v 4.5 Umbraco could not run on shared hosting if it only supported medium trust. It's not problem when full trust is allowed. But actually I think Benjamin Howard made some magic so Umbraco before 4.5 can also run on shared hosting, which only allows medium trust if I do remember correctly...
But from 4.5 it's been possible for sure. However I know many people have had some trouble getting it to work properly on GoDaddy. But in the end I think most have managed to get it up and running.
Yes, you're right - you don't neccesarily need to take this step on a shared host. I guess it really depends on how you're allowed to administer the site. My shared hosting provider only allows me access using FTP for instance. And it was with that in mind I wrote the above.
So I guess the answer should be that the approach depends on what kind of access you get and what you're allowed to do.
Seems that I also only have FTP access to this share host. But reading your steps, I have to make a clean installation of Umbraco. How can I do that if I only have FTP-acces?
and added requirePermission="false" to the clientDependency, but now I get this error:
This
configuration section cannot be used at this path. This happens when
the site administrator has locked access to this section using
<location allowOverride="false"> from an inherited configuration
file.
deploying umbraco on shared host
Hi,
Is it possible to deploy an Umbraco site (4.5.2) on a Shared Host? Where can I find information on this subject?
Thanks for your help,
Anthony Candaele
Belgium
Hi Anthony
I can't see why it should not be possible.
But you should of course make sure that Umbraco is supported by the host.
To deploy on a shared host I think I would to the following
1) Make a clean installation of Umbraco
2) Check that it's possible to login and everything seems to be fine
3) Copy over all the files (Be aware not to overwrite the web.config with your local one)
4) Make a database dump, which should be imported to the SQL server of the shared hosting somehow. (Think this could turn out to be the most tricky part depending on your own database knowledge and what DB version etc. is being used).
I hope these pointers are usefull.
/Jan
Hello Jan,
I was asking this question because I read that Umbraco, in the past, could not run on a shared host because it didn't support medium trust.
What I normally do when deploying an Umbraco site on my own server, is copying the webfolder and de sql files (.mdb, .log), and then configure the connection string in the web.config file to let it point to the new database. So I never do a clean install of Umbraco on the production server. Is this necessary on a shared host?
Thanks for your advice,
Anthony
I run on a shared host just fine. But my host also allow's full trust I think. There is a setting in the web.config for medium trust in 4.5.2+ I believe. I don't use SQLCE, but probably should since I'd just need to copy the whole folder up and I'd be good.
Hi Anthony
You're right. Before v 4.5 Umbraco could not run on shared hosting if it only supported medium trust. It's not problem when full trust is allowed. But actually I think Benjamin Howard made some magic so Umbraco before 4.5 can also run on shared hosting, which only allows medium trust if I do remember correctly...
But from 4.5 it's been possible for sure. However I know many people have had some trouble getting it to work properly on GoDaddy. But in the end I think most have managed to get it up and running.
Yes, you're right - you don't neccesarily need to take this step on a shared host. I guess it really depends on how you're allowed to administer the site. My shared hosting provider only allows me access using FTP for instance. And it was with that in mind I wrote the above.
So I guess the answer should be that the approach depends on what kind of access you get and what you're allowed to do.
Hope this helps.
/Jan
Hi Jan,
Seems that I also only have FTP access to this share host. But reading your steps, I have to make a clean installation of Umbraco. How can I do that if I only have FTP-acces?
Thanks for your advice,
Anthony
via FTP.. backup what you have, then upload a clean umbraco setup..
Browse to your site and the installer should start.
And the shared host saga continues ...
I try to install my website in a medium trust shared host environment.
I have set this thes settings in the web.config file:
<add key="umbracoUseMediumTrust" value="true" />
uncommented <trust level="Medium" originUrl=".*" />
and added requirePermission="false" to the clientDependency, but now I get this error:
This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Anyone has experience with this problem?
Thanks for your help,
Anthony
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion