Control Web Panel
WebPanel => CentOS Configuration => Topic started by: l3m35 on August 19, 2019, 05:14:12 PM
-
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"?
-
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.