Author Topic: How to edit main domain of an account  (Read 648 times)

0 Members and 1 Guest are viewing this topic.

How to edit main domain of an account
« on: September 04, 2023, 11:20:52 AM »
In cPanel, one can change the main domain of any account by using the edit function. Easy and simple. in CWPpro, when you Edit Account, there is no way to change the Main Domain. I want just to make an addon domain, pointing to the root directory, to make it main domain, i.e., to replace the current main domain with the name of a parked domain, keeping the path to the root directory unchanged.

Re: How to edit main domain of an account
« Reply #1 on: September 04, 2023, 02:51:42 PM »
I think you would have to delete the parked domain, then create a new user with the parked domain as the main domain, and then move any content of the /home/olduser/public_html to the new public_html, as well as any databases (export, then import under the new mysql user). Slightly cumbersome, but in actuality accomplished within minutes.