How to mirror mojoPortal

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/31/2010 4:58:02 AM
Gravatar
Total Posts 2

How to mirror mojoPortal

Hi there,
I have this need:
I want to manage some sites with their contents with mojoPortal behind my firewall so inside my LAN.
Then I want to mirror all the sites with their contents on a "outside" server located on DMZ.

How can I do that?

Thanks.

12/31/2010 7:05:29 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: How to mirror mojoPortal

I'd recommend setting up a reverse proxy server to do this, and configure your firewall to do the appropriate traffic routing. You won't actually be mirroring the sites per se, but this configuration will keep your internal web server from receiving direct Internet hits, which I think is what your goal is.

1/1/2011 4:46:51 AM
Gravatar
Total Posts 2

Re: How to mirror mojoPortal

Hi Jamie, thanks for you answer and Happy New Year!!! Well I need this "staging" infrastructure because I want to do all the job inside my intranet where all the people who needs to see the work can do before to go live. Only when all the content is well tested and approved, I want to replicate to the outside site. Of course it is a question of backup too; I own a complex backup infrastructure that backups files, DBs, etc on tapes. Of course this infrastructure cannot be used outside. So if I have my staging sites inside and saved, I don't have to worry about outside sites attacks or whatever. Is this possible in some way? Thanks
1/1/2011 11:24:47 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: How to mirror mojoPortal

If you're talking about using a development server, and going through a one-time "go live" process, that won't be a problem at all. That's what we did when we went live, and we maintain a development server inside the firewall along with our public web server in the DMZ. When we started the project, we bought a new server and kept it inside the firewall for the development and data entry portion of the project, then placed it in the DMZ for our go-live. We opened a port in the firewall to allow our internal backup server access to the new web server, although there are other ways you could back that data up as well.

You could also develop everything on your development server first, then copy the mojoPortal tree from disk, and export/import the database to do your go-live. You can even backup and restore your IIS settings if you have multiple sites, or are putting in a lot of 301 redirects from an old site into your mojoPortal sites.

I wouldn't recommend trying to keep the databases and sites mirrored from dev to production like you're describing. There are just too many things that can go wrong with that approach. Once you are live, I think the live updates should be made in production, and any data refresh should always be flowing from production back to development, not the other way around. At that point, the dev server becomes kind of a "playground" for experimentation, skin development, and upgrade testing.

Once you are live, if you need to continue developing portions of the site that should be hidden from external users, you can use the Content Workflow system to develop pages in "draft" mode. These will be visible to any users that you grant the appropriate roles to, but not visible to regular visitors to the site. We are planning to use this for one of our sites that gets overhauled quarterly. If you're developing new child sites, of course, you can only have them published in your internal DNS, and just add them to the external DNS when you're ready to make them live.

Hope that helps,

Jamie

1/3/2011 5:44:27 AM
Gravatar
Total Posts 18439

Re: How to mirror mojoPortal

There is nothing in mojoPortal to support server to server publishing like from staging to production, partly because there are lots of features where users can update content, ie if a user registers on your site in the dmz then the staging system is no longer up to date and forums for example expect user content as do blog comments.

If you are not letting users register on your site and the content you publish is all read only then you could possibly do it by using database replication from the staging db to a db in the dmz and you would also need a way to keep the file system in sync between the 2 environments by copying new files uploaded in your staging environment out to the production environment. But this would all have to be done by external tools and processes, there is nothing in mojoPortal to do this.

Hope it helps,

Joe

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