I'm trying to emulate something that apparently is fairly easy to do in CPanel.
I'm setting up a multistore situation using OpenCart. The satellite stores (domains) must point to the mainstore's domain public_html folder.
I've been able to create the satellite stores (domains) successfully when creating them under one (user) IP. I had to create symlinks and grant public_html owner this way
chown -h userA:userA /home/userA/domains/satellitedomain.com/public_html
This worked but not really what I want to do. These are all using same IP.
I would like to avoid using a UCC Cert (multidomain) for several reasons.
Apparently people are doing this with CPanel.
I tried changing the document root path of userB to the main store domains public_html using the DOCROOT token.
|?DOCROOT=/home/userA/domains/mainstore.com/public_html|
I get a "you do not have permission" message when trying to browse to it.
I think, almost positive this has to do with public_html owner problem
I don't know if it can be done or how I can grant owner status using a separate domain account.
I'm no guru and most all command line command I get are from this or other forums or a google lookup. I learned the above on this forum. That's why I'm asking if this can even be done and if I used the above command I'm not sure if it should be:
userA:userB or userB:userA
with userA being the main store domain and userB being a satellite store.
Anyway this is what I've been trying. Hopefully I'm on the right track and this can be done.
I've noticed a few questions here similar to this but not a clear cut anwer/solution.
Any help is greatly appreciated and hopefully this can be done with DA because I believe it's being done from the panel in CPanel.
Thanks so much.
I'm setting up a multistore situation using OpenCart. The satellite stores (domains) must point to the mainstore's domain public_html folder.
I've been able to create the satellite stores (domains) successfully when creating them under one (user) IP. I had to create symlinks and grant public_html owner this way
chown -h userA:userA /home/userA/domains/satellitedomain.com/public_html
This worked but not really what I want to do. These are all using same IP.
I would like to avoid using a UCC Cert (multidomain) for several reasons.
Apparently people are doing this with CPanel.
I tried changing the document root path of userB to the main store domains public_html using the DOCROOT token.
|?DOCROOT=/home/userA/domains/mainstore.com/public_html|
I get a "you do not have permission" message when trying to browse to it.
I think, almost positive this has to do with public_html owner problem
I don't know if it can be done or how I can grant owner status using a separate domain account.
I'm no guru and most all command line command I get are from this or other forums or a google lookup. I learned the above on this forum. That's why I'm asking if this can even be done and if I used the above command I'm not sure if it should be:
userA:userB or userB:userA
with userA being the main store domain and userB being a satellite store.
Anyway this is what I've been trying. Hopefully I'm on the right track and this can be done.
I've noticed a few questions here similar to this but not a clear cut anwer/solution.
Any help is greatly appreciated and hopefully this can be done with DA because I believe it's being done from the panel in CPanel.
Thanks so much.