How do I change the main domain from the User Accounts section in the CWP control panel ?
1) I changed the domain name:
CWP.admin > Apache Settings > Edit Apache vhosts
2) Then, in the CWP control panel, go to phpMyAdmin and modify the database:
CWP.admin > SQL Services > phpMyAdmin > root_cwp > user
In this way, CWP can modify the main domain name.
highly recommended
- Fill in your own useless domain name for the main domain name (or just fill in a domain name),
- Otherwise, when adding another domain name, a new domain name folder will be generated under the main domain name folder, which will be very confusing.
Hopefully, the article "How to Change the Main Domain from User Accounts in the CWP Control Panel?" shared on Chen Weiliang's blog ( https://www.chenweiliang.com/ ) will be helpful to you.
Feel free to share this article's link: https://www.chenweiliang.com/cwl-165.html
