Is it possible to publish an umbraco site that has no db connection? I.e. I have a publishing server that the contect gets published from to a server that does not have a db connection? that means I can then replicate that site (from the web server with no db coonnection) to other web servers?
If so, what settings do I need? Any info is greatly appreciated.
As Salman says you cannot publish a site that has no db connection. The umbraco system is reliant on the DB being there. You could however use software to create a flat file site and then publish that to your other nodes without content - something like this
I did something similar for a site a long time ago using Microsofts CMS and it worked, it does however bring along it's own problems when you do something like this.
Whats the problem with just using sql express on these other sites and publishing using Courier?
The publishing server will have a db connection its just that I want to create a site and then simply ftp the site/changes to a remote server that has no db connection. Why? Ease of use, no db reads when serving content, ability to replicate the site easily with a file replication model etc
So as I say you can use a piece of software to spider the site and create a flat file system, there is nothing built into Umbraco to do this. The issues you will get is if you want to do anything clever that requires the DB to be available - searching for example. If you don't intend to do any dynamic gubbins on your replicated sites then it should all be good.
No db connection
Is it possible to publish an umbraco site that has no db connection? I.e. I have a publishing server that the contect gets published from to a server that does not have a db connection? that means I can then replicate that site (from the web server with no db coonnection) to other web servers?
If so, what settings do I need? Any info is greatly appreciated.
Hi,
You can not publish content without umbraco DB connection
because internally umbraco set flag value to table when content published.
Hi Matt,
As Salman says you cannot publish a site that has no db connection. The umbraco system is reliant on the DB being there. You could however use software to create a flat file site and then publish that to your other nodes without content - something like this
I did something similar for a site a long time ago using Microsofts CMS and it worked, it does however bring along it's own problems when you do something like this.
Whats the problem with just using sql express on these other sites and publishing using Courier?
Mark.
The publishing server will have a db connection its just that I want to create a site and then simply ftp the site/changes to a remote server that has no db connection. Why? Ease of use, no db reads when serving content, ability to replicate the site easily with a file replication model etc
Matt,
So as I say you can use a piece of software to spider the site and create a flat file system, there is nothing built into Umbraco to do this. The issues you will get is if you want to do anything clever that requires the DB to be available - searching for example. If you don't intend to do any dynamic gubbins on your replicated sites then it should all be good.
Mark..
is working on a reply...