change server
Hi guys,
I need help as I am not an expert.
I have 4 vps servers with a lot of virtual hosts. Any virtual host has different path to document root. I would like to change the document root for any virtual hosts that I have on my vps. How can I do it?
also each vps server has a different version of phpmyadmin(from 5.0 to 8). Is it possible to migrate all the servers to cpanel?
Thank you in advance for your help!
-
@giuliadima - Welcome to the Forum! In general, there isn't usually a need to change the document root. Is there an issue you're trying to solve by performing that change? The PHPMyAdmin version would not affect the migration to a newer system, although I'm wondering if you mean the MySQL version itself, as there is no PHPMyAdmin 8 at this tme. 0 -
Hi, I am changing server and I would like to migrate all the files, document root and db as they are in the previous server. I have different document root path so I would like to change the document root path from cPanel and do an easy migration, without chaging anything. About php, in my server I have php version 5.6 and in the new server I configured cPanel on Ubuntu 20.04 that has mysql 8.0. It will be a problem during the migration? 0 -
The PHP version isn't related to the MySQL version at all. You would want to ensure the MySQL versions are as close as possible between the two systems. In general, the document root of the domains *shouldn't* matter, and I honestly wouldn't recommend trying to change it. Details on that process can be found here: 0 -
so how can I migrate a vps server with several virtual hosts with cPanel on a new Ubuntu server 20.04? every virtual hosts has different cms as joomla and wordpress and others... Every vhost has his own document root.. 0 -
Is the current server also using cPanel, or does it not have a control panel? 0 -
it doesn't have c control panel 0 -
I am doing some tests to see if it will works. I downloaded the db and the apache conf in tar files on the new website with cpanel. Now how can I export this configuration in cpanel? 0 -
You would not import the Apache configuration to the new server. cPanel handles the Apache configuration based on every process that happens on a machine, such as creating a new account or adding a subdomain, so you won't need to do that. For the database configuration, it's just a plain text file, so you can compare the options in your downloaded version to the options in /etc/my.cnf and merge the ones you want. 0
Please sign in to leave a comment.
Comments
9 comments