Forum Moderators: open
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.
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?
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...]