Author Topic: Multiple domains under one account  (Read 9776 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Multiple domains under one account
« on: May 01, 2015, 02:09:08 PM »
Hi. Having just discovered CWP I'm in the process of moving my files over from Vesta, which was good but this one seems so much more full-featured and friendly.

I want all my sites under one account, and would like to have them in the directory structure like:

/home/account/public_html/domain1/
/home/account/public_html/domain2/
/home/account/public_html/domain3/

but since domain1 is also the main domain for the account, I've ended up instead with:

/home/account/public_html/[files for domain1]
/home/account/public_html/domain2/
/home/account/public_html/domain3/

In other words, all of the files for all of my sites are in the directory structure for domain1. It would be much easier to manage, back up, etc., if the files for each domain, including domain1, were in their own directory under public_html.

Any tips on how to set this up? Is it possible?

Re: Multiple domains under one account
« Reply #1 on: May 01, 2015, 03:16:52 PM »
changing path in vhost would help you, I dont know if something will overwrite it...

Offline
***
Re: Multiple domains under one account
« Reply #2 on: May 01, 2015, 07:32:34 PM »
Must edit vHost templating to fit these needs.

The only feature that can edit that is rebuild vHosts.

I've aswered this same question on another post and i found interesting.
I like too to create the folder named as the domain/subdomain.

It's more intuitive. There's no need to store apart "what is serving" that folder.
The best option is domain as name of the folder.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.