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

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

Get CWPpro ›

How to change default user account path

Started by l3m35, August 19, 2019, 05:14:12 PM

Previous topic - Next topic

l3m35

Sorry if it's repeated, I didn't find it anywhere.

I'm migrating from a server with cPanel, hosting 4 websites. In my new centos server, there is a user account and 3 additional domains, so it's like:

- accountsite.com
- add1.com
- add2.com
- add3.com

The root folder "(home/accountsite/public_html) have 3 folders (add1, add2, add3) and it's everything fine with those sites.

I'm not sure what to do about the main site, since a new folder "accountsite" is not working (error 404) and I don't think it's right to drop the files there along with other folders.

How can I change the path to "home/accountsite/public_html/accountsite"?

josephgodwinke

For CPanel migrations that have multiple subdomains and addon domains or parked domains I recommend (basic and automated) you migrate everything as normal and setup subdomains and dns zones for the subdomains

For me the best way is advanced way:

1. Create a New Account
2. Create necessary subdomains and add domains linked to that account (addon domains)
3. Setup dns zone for these domains and sub-domains
4. rsync all site data and mailboxes
5. Llastly I finish by Fixing Permissions.
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.