MadHatter Posted June 10, 2014 Share Posted June 10, 2014 Hello, I'm trying to figure out if it's possible to install one ProcessWire core for multiple sites under WHM/cPanel. When a new domain is set up then a new user is created on the server along with a home directory containing a public_html directory for serving the new site. I've come to the understanding that the core needs to be web accessible and the only way I can see to do this is to have one core per ProcessWire installation. The other option is to use symlinks but I'm not sure that's possible through cPanel, and we seem to not have shell access on our server (though I'm sure we could ask if needed). This, however, makes setting up new sites a bit of a pain. Another option would be to produce a PHP file to create the symlink for a one-time execution, then delete the file. I'm still not keen on this options but it may be the best solution. So my question, I suppose, is are there any easier options to run several sites from one core without giving them all the same root directory? Link to comment Share on other sites More sharing options...
adrian Posted June 10, 2014 Share Posted June 10, 2014 Here are some multisite things to look at, in case you haven't seen them: http://modules.processwire.com/modules/multisite/ https://processwire.com/talk/topic/1025-multisite/?p=46652 https://processwire.com/talk/topic/3534-one-processwire-installation-folder-for-multiple-sites-without-symbolic-links/ https://processwire.com/talk/topic/4566-is-there-a-disadvantage-to-adding-modules-to-wire/ https://processwire.com/talk/topic/816-multi-site-setup/ 1 Link to comment Share on other sites More sharing options...
MadHatter Posted June 12, 2014 Author Share Posted June 12, 2014 Thanks adrian, it looks like I'm going to use symlinks to connect to the core. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now