Hello everyone,
English is not my mother language, so if my question is unclear, please say so.
I want to reinstall my VPS in a better way than it is right now. What I want to accomplish is that all (new) domains when I add them, automatically point to the same document root (the same folder).
How do I do this now? I use one "main" user. I use this user to log in to cPanel and when I add a new domain I add it as an "add-on domain". This way I can point all add-on domains to the same document root.
However, Im wondering if there is somehow a better solution to accomplish this. I'd rather add each domain as a "normal" domain, instead of an add-on domain.
Is there a solution to do this? For example change a default vhost template or something?
Actually it should be like this. I log in to WHM as root. Then when I create a user, the document root of this user should always be the same. Can it be done?
Once again, if my question is unclear, please say so!
English is not my mother language, so if my question is unclear, please say so.
I want to reinstall my VPS in a better way than it is right now. What I want to accomplish is that all (new) domains when I add them, automatically point to the same document root (the same folder).
How do I do this now? I use one "main" user. I use this user to log in to cPanel and when I add a new domain I add it as an "add-on domain". This way I can point all add-on domains to the same document root.
However, Im wondering if there is somehow a better solution to accomplish this. I'd rather add each domain as a "normal" domain, instead of an add-on domain.
Is there a solution to do this? For example change a default vhost template or something?
Actually it should be like this. I log in to WHM as root. Then when I create a user, the document root of this user should always be the same. Can it be done?
Once again, if my question is unclear, please say so!