Bobcares

cPanel to Webmin – Migration is easier than you think

by | Jul 4, 2019

Websites often need migration when trying to switch to a user friendly control panel. Being mobile friendly, server owners often choose Webmin as a cPanel alternative.

Fortunately, it’s very easy to migrate from control panels like cPanel to Webmin.

But, improper server settings or duplicate username can result in unsuccessful server migration.

That’s why, at Bobcares, We’re frequently receiving customer requests for migration from CPanel to Webmin as part of our Server Migration Services.

Today, we’ll see how our Migration Engineers do cPanel to Webmin migration and fix related errors.

 

How we do cPanel migration

Webmin is one of the system administration tools that make it simpler for admins to manage Linux servers. Also, Virtualmin is a Webmin module which is comparable to cPanel. It offers non-root users with features to handle their shared hosting accounts.

Now, our Migration Specialists use below steps to migrate cPanel accounts with Virtualmin.

1. Firstly, we login into cPanel.

2. Then navigate to Backups > Full Backup and fill the following field too.

  1. Destination: select SCP.
  2. Notification email: Enter an Email address.
  3. Server field: Enter the IP address of the Virtualmin Server.
  4. User field: root.
  5. Password: Enter the root password.
  6. Port: 22.
  7. Folder: Enter path as “/root”.

3. Next, we click Generate Backup. Once the download the backup to the Virtualmin server, a notification email will send the given Email address.

After we generate the backup, we’ll start the migration procedures in Virtualmin.

1. We login to Virtualmin.

2. Then, we click on Add Servers menu > Migrate Virtual Server option.

3. Also, in the source backup file, select local file and enter the backup file name with its path prefix of /root/.

For example: /root/backup-5.6.2019_21-6-51_UserName. Here, backup-5.6.2019_21-6-51_UserName is the backup file name.

4. Again, we choose cpanel backup as Backup file type. And, we fill the following field too.

  1. Domain name to migrate: Enter the domain name.
  2. Username for domain: Enter the cPanel user name.
  3. Password for administrator: Enter the cPanel password.

 

cPanel to Webmin migration

Also, we fill the remaining fields left to their defaults. Or if the new account need a dedicated IP address, we choose the option “Virtual with IP“. Then we assign a free IP on the Webmin server.

5. Finally, we click on the Migrate Now button.

The time required for the migration completion depends on the size of the account. Small accounts migrate quickly, while the larger accounts take more time.

That completes the migration procedure from cPanel to Webmin server. However, our Migration Engineers always preview the website on the new server before changing the DNS. This helps to avoid any website downtime.

 

How we fixed migration related errors in Virtualmin servers

From our experience in managing servers, we’ve seen customers facing problems in migration from cPanel to Webmin. Let’s take a closer look at how our Migration Engineers fixed these problems.

 

1. Duplicate Username

Recently, one of our customers reported a problem while migrating his cPanel server to Virtualmin server. The error said as the username already exist and asked to change the username.

On checking, our Migration Specialists didn’t find any user with the same name in the Virtualmin. However, we found a system user on the server under users and groups.

Therefore, to solve the error we had to change the system username to an alternate one. After that, we initiated the migration once again.

Finally, cPanel migration was completed successfully.

 

2. Conflict in Server settings

Similarly, another customer migrated his cPanel server to new Virtualmin server without any error. However, the websites worked after altering the name server IPs to the new Virtualmin server, but email did not work and rejected the password too.

Usually, new account creation in Webmin/Virtualmin depends on a preset Server Template. In this case, our Support Engineers found that the email account was created with default settings as user.domain, and not user@domain.com.

However, it was created in cPanel as user@domain.com. This blocked the email server from properly authenticating the username.

So, we had to change the username format in System Settings -> Server Templates -> Default -> Mail for Domain, and set “Format for usernames that include domain” to user@domain.

 

 

That fixed the issue, and the email account started working properly.

 

[Looking for a trouble-free migration from cPanel to Webmin? Our Migration Specialists can do it for you.]

 

Conclusion

In short, Virtualmin is a Webmin module which is comparable to cPanel. Today, we saw how we do cPanel to Webmin migration as part of cPanel Migration Service without affecting the websites and fix related errors.

Migrate cPanel to a new platform!

Looking for changing infrastructure of your server? Let us help you.

Our migration experts can migrate all your accounts to a new platform without data loss.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

4 Comments

  1. Renzo

    Hi. Does this also migrate emails accounts with all emails existing at current cpanel to virtualmin?

    Reply
    • Maheen Aboobakkar

      Hello Renzo,

      We download a Full Account Backup from cPanel during the migration. It includes email accounts also.

      Before migrating emails from cPanel to Webmin , verify if both the servers has compatible email formats. The destination server email format should match with the cPanel mail format. We can verify it by checking any of the “Maildir” directory of the email account.

      Reply
  2. Benefacia

    Virtualmin migrations from Cpanel do not work. Many files and settings transfeer over, but virtualmin ignores the databases in the backup, so if your site relies on databases, you are left with a horribly broken website requiring a great deal of manual importing and repairs. If you google, there are bug reports about this dating back to 2005 in virtualmin’s various bug reporting forums over the years, all marked “closed – fixed” without further comment, even though it has never been fixed.

    I’ve done this 3 times now tonight, with sets of instructions from three different sources, and always that same results. No working website, and an unclear path to getting my cpanel-hosted website off cpanel and working on virtualmin.

    It’s inexcusable that people release broken software, and in 20 years can’t even be bothered to make a note in the documentation. The only reason I chose virtualmin was because it said it can read cpanel backups, and it can’t, not well enough that it’s usable.

    Reply
    • Hiba Razak

      Hi,
      Our experts can help you with the issue.we will be happy to talk to you through our live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF