Urgent Virtualmin Migration Fix

Job ID: 40301559

Budget: ₹100 – ₹400 INR

Job Description

I migrated around 120 websites from a Plesk VPS to a new AlmaLinux VPS with Virtualmin.

The migration was done using:

rsync /var/www/vhosts → /home

rsync /var/lib/mysql → new server

The new server environment:

OS: AlmaLinux

Control Panel: Virtualmin

Web Server: Apache

PHP: PHP-FPM

Database: MariaDB

Mail: Postfix + Dovecot

SSL: Let's Encrypt


Current Issues

Some parts of the migration work, but several problems remain:

1. Website Issues

Some websites show Index of /

Some domains open another website instead of their own

Some sites show 500 Internal Server Error

Some sites show database connection errors

2. WordPress Issues

WordPress sites sometimes redirect incorrectly

Some sites show ERR_TOO_MANY_REDIRECTS

Some sites show Error establishing a database connection

3. Apache Configuration

Some VirtualHost configs may be incorrect

Some domains may have wrong DocumentRoot

Some domains are loading the default site instead of their own

4. Database Issues

MariaDB data was migrated directly from /var/lib/mysql

Database users/permissions may not be properly mapped

Some websites cannot connect to their databases

5. SSL Issues

SSL certificates exist for some domains but not all

Let's Encrypt renewal previously failed due to multiple domains

Need SSL configured correctly for all domains

6. File Structure Issues

Some domains may have incorrect folder structure after migration, for example:

/home/domain/public_html
/home/domain.com

Websites may need to be moved to the correct Virtualmin user directories.

Requirements

I need someone who:

Has experience with Virtualmin / Webmin

Has experience with Plesk to Virtualmin migrations

Understands Apache VirtualHost configuration

Can repair MariaDB permissions and users

Can fix PHP-FPM mapping

Can repair SSL (Let's Encrypt) setup

Can restore correct DocumentRoot for each domain


Goal

Restore all websites so that:

Each domain loads its correct website

Databases connect properly

SSL works correctly

Emails remain unchanged and working

Server configuration is clean and stable

Important Notes

Email configuration must not break

Server access will be provided via SSH (root access)

Work must be done remotely
Related categories: PHP Linux Apache MySQL Plesk MariaDB Dovecot Postfix Database Management SSL