How to copy a website from dev server to production server?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
3/4/2009 4:41:49 AM
Gravatar
Total Posts 2

How to copy a website from dev server to production server?

Hi there.
First I would like to congratulate you guys for an amazing job with mojoPortal.

I decided to adopt mojoportal to host some simple websites. These will be hosted on a linux machine with mono 2.2 and mysql. We have successfully installed it and all is ready to work.

We have created a few simple websites on a dev machine running winxp, apache, mysql. Now we want to deploy these to the linux machine. Whats the proper way to migrate the website from one server to another?

The scenario is more or less simple. We will have a production server that will have a bunch of websites running on mojoportal. We will create new websites on a developer machine, where we create pages, contents, and a theme. When all its ready to put into production we will like to copy the files and also the site configuration including the pages and contents created on the dev machine to the live server without causing downtime to .
I tried to browse the documentation and google for this but didn’t found any info on how to do this.

Any help is very welcome.

Cheers
 

3/5/2009 5:52:06 AM
Gravatar
Total Posts 18439

Re: How to copy a website from dev server to production server?

I generally do not recommend populating the content in the db on a dev machine and then moving it to production. Its especially problematic if the url structure will be different on production like http://localhost/mojo on dev and then http://somedomain.com on production, you will end up with broken urls and images if the structure is different. I generally recommend creating your content on production and then restore a backup of the db on dev if you want to test with production data.

Moving from one server to another is basically a matter of backing up the db, restore on the new machine, backup the files and restore on the new machine. If the url is staying the same across machines it should be straightforward. Your mileage may vary.

Moving to Mono you will encounter bugs, there are bugs in Mono, so far I do not recommend installing mission critical web apps on linux/Mono. Mono keeps getting better and I hope to be confident to recommend it at some point (maybe the next release). For less importnat apps or testing it may be acceptable.

Hope it helps,

Joe

3/5/2009 8:26:19 AM
Gravatar
Total Posts 2

Re: How to copy a website from dev server to production server?

Hi Joe,

Thanks for your reply.

Can I ask you to elaborate a bit more on the specific issues I may encounter with Mono? For now the pages will consist in html content, and not much else. We wont be using a lot of the features Mojoportal has. Still i'm interested in knowing what possible issues I may be facing as we may adopt Mojo for more complex scenarios.

Thanks in advance

Cheers

3/5/2009 8:36:44 AM
Gravatar
Total Posts 18439

Re: How to copy a website from dev server to production server?

Hi,

It may work fine for your needs, I just don't want you to have unrealistic expectations. I do not do exhaustive testing on Mono so I don't know alll the possible issues you may encounter and each release of Mono is different, sometimes there are regressions and things that worked previously get broken. Mono is on the verge of a new release, hopefully it wil be solid, they are getting better in general. The main thing is any bug you do encounter is likely to be a Mono bug rather than a bug in mojoPortal and there will be nothing you can do to solve it yourself other than report it to the Mono team. Then you will have to wait for the next release of Mono or build your own Mono from the latest svn.

The current Mono release has some bugs in the change password control and probably other issues. You can find some info on our Linux/Mono forum.

I love Mono, but if a customer wants to run a mission critical ASP.NET app trouble free, I still recommend windows hosting. for those who really want to deploy on Linux/Mono I say its fine if you do your own testing to make sure it meets your needs well enough before making the switch.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.