Forum Moderators: open

Message Too Old, No Replies

Multiple CMS on one server

Multiple CMS on one server

         

magsweb

10:24 am on Sep 16, 2009 (gmt 0)

10+ Year Member



Last year an external design company was appointed to redesign our web site using a CMS (they customised an existing open-source one apparently). Anyway, it's not particularly user-friendly.

Now this year, we're looking to revamp our intranet which is currently static html. I'm still undecided as whether to move to a CMS, but if I did is it possible to have a separate CMS for the intranet, e.g. Drupal, running on the same Linux/Apache server alongside the web site CMS? The intranet uses a different port from the main web site.

ergophobe

3:19 pm on Sep 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, certainly. With the popularity of Wordpress, I would guess that many shared servers have 50 copies of WP running under different accounts. Maybe more.

You could one at root and one on a subdomain or a subdirectory or each on its own domain. I have about a half dozen dev copies of various CMS running on my testbed server on my laptop (obviously it wouldn't handle much traffic)

I assume that your intranet runs on both a different port and a different domain or subdomain?

ergophobe

3:19 pm on Sep 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Oh, and I see it's your first post here. A warm welcome too!

magsweb

10:25 am on Sep 17, 2009 (gmt 0)

10+ Year Member



Thanks for your reply. The intranet is on port 8501 and that's what differentiates it from the main web site.

ergophobe

4:35 pm on Sep 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hmmm... it would work for a multisite install of drupal (built in), but I don't know how it would work with an existing CMS.

I suppose you might need a RewriteCond based on port.

If it were two sites running on drupal, you would just follow the standard practice

If you are installing on a non-standard port, the port number is treated as the first part of the subdomain. For example, http://www.example.com:8080 could be loaded from sites/8080.example.com. If that directory doesn't exist, Drupal would then look for sites/example.com, just like a real subdomain.

source: [drupal.org...]