New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to edit main domain of an account

Started by Imago, September 04, 2023, 11:20:52 AM

Previous topic - Next topic

Imago

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.

overseer

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.