English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Setting new slave site on independent domain
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Setting new slave site on independent domain
#7434
Setting new slave site on independent domain 13 Years, 6 Months ago Karma: 0
Hello everyone,
This is my first post.

My goal is to have a master domain www.mydomain.com and slaves sites who are independent domains, for example: www.domain1.com, www.domain2.com, www.domain3.com, etc...
So, I added a template and is the only field filled in DB prefix: {site_id}_
and of course I set the report folders.
Then I added a new site by putting in list domain: www.domain1.com, domain1.com
I entered the parameters for the db, and I quote the path to the deploy folder: I use ISPConfig 3, and then my root directory is /var/www/clients/clientX/webX/web

The error that gives me is:
JFolder:: create: Could not create directory
JFolder:: create: Could not create directory
JFolder:: create: Could not create directory
JFolder:: create: Could not create directory
Error writing configuration file [/var/www/clients/clientX/webX/configuration.php]

The web space is writable, and I think the path of root is correct.
Definitely something wrong, but I do not know what.
Thanks for the help.
internetmarketing
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7438
Re: Setting new slave site on independent domain 13 Years, 6 Months ago Karma: 54
I don't know the HTTP Server administration tool that you are using.
If you are using cPanel.

Go in cPanel AddOn domain and create the domain with a "document root" like [home]domains/xxx.com/public_html

When the domain is created, ensure that you have the correct path.
You can check it with a "hello world" that you put in the document root of this domain.
It will display the path that must be used in JMS "deploy folder".

Go in JMS and create a slave site
Site ID = xxx
Domain = www.XXX.com, xxx.com
Deployed directory = [home]domains/xxx.com/public_html (the full path corresponding to your domain).

You can get inspired of the tutorial video CP-04 that show a similar case with a subdomain. You just have to use the AddOn domain instead of subdomain.
www.jms2win.com/en/tutorial#jms12x-CP-04

You must use the AddOn domain and not another cPanel account to have the same ownership of the files and folder. This avoid permission error.

If you are trying deploy the slave site into another cPanel account, you should grant the permission of the account to allow writing in both account. It is easier to use a same account and the AddOn domain.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla