Author Topic: How to use the domain associated to user account  (Read 7571 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to use the domain associated to user account
« on: January 11, 2016, 10:13:32 PM »
Hello,
I'm here to ask you how i can use the domain specified during CWP account creation; in other words, if I create an account for my customer, i have to specify it's domain name, but when i try to upload the files, i'm not able to see it.

I also modified the Apache vHOST configuration:

# vhost_start mydomain.it
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName mydomain.it
ServerAlias www.mydomain.it
ServerAdmin info@mydomain.it
DocumentRoot "/home/useraccount/public_html/mydomain.it"
ScriptAlias /cgi-bin/ "/home/useraccount/public_html/mydomain.it/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/useraccount/mydomain.it/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup useraccount useraccount
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup useraccount useraccount
        suPHP_ConfigPath /home/useraccount
</IfModule>

<Directory "/home/sinapps/public_html/mydomain.it">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end mydomain.it

Your help is really appreciated!..

Thanks,
Riccardo

Offline
*****
Re: How to use the domain associated to user account
« Reply #1 on: January 14, 2016, 09:55:48 AM »
Hello.

I'm afraid the CWP do not have a feature for main domain changing.
You should remove it and create again, or to change domain in the database.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to use the domain associated to user account
« Reply #2 on: January 15, 2016, 02:08:16 AM »
The customers main domain folder is "public_html". Add-on domain directories can be specified at the time of creation.