Vhost to Ubuntu server deployment

I currently have a Webmin/Virtualmin server running my virtual host, which is hosting my eCommerce website. For better performance, I want to migrate the website to an on-premises Ubuntu server. What is the best way to do this?
Note : i have the vhost backup

Use Virtualmin’s Backup and restore it on your on-premises Ubuntu server, if it has Virtualmin too. Easy peasy.

See:

1 Like

Thank you very much! However, I don’t have Virtualmin installed on the on-premises server — I want to dedicate this server solely to hosting the website, without using Virtualmin or any other control panel software

It’s up to you but you might just install Webmin then.

IF you have decided this is what you want to do, then I’d rsync the site over. Set up the user first and assign them the same group and user ID as on the Virtualmin server. (You could just chown -R?) after the fact other wise )

Then copy over all relevant config files. This may, or may not, be straight forward if you are now on Ubuntu or Debian.

Not sure why you wouldn’t install W/Vmin. No real performance hit, just disk space. My concern is that if you’re asking this question doing it manually might not be your cup of tea if you don’t understand all the implications.

That is asking to start a new life (from the cradle up ) :baby_symbol:

Yes.

And if you don’t want to continue with Virtualmin then the Virtualmin community is scarcely the place which will discuss with you how you can run a web hosting service on a server without Virtualmin on it.

If you need help with backing up a Virtualmin virtual server, running a Virtualmin server or any other Virtualmin related topic, then this is the place for it.

Keep in mind what @ID10T said (he says the most sensible of things) about Virtualmin not causing a performance hit and what @Stegan said about starting from the cradle up if you want to go without Virtualmin on your new server.

Best of luck!

You could install Virtualmin, restore your backups and then uninstall Virtualmin (but do not use virtualmin-install.sh --uninstall, as that removes everything, you need to specifically uninstall the deb packages for Webmin, Virtualmin, etc., as well as the Virtualmin stack package).

You’ll need to refactor how mail is processed and delivered, since the mail processing depends on Virtualmin. If you’re comfortable running a server without a control panel, that shouldn’t be a big deal. Just change the delivery agent and add whatever antivirus and antispam tools you like.

You’ll also need to switch to using certbot directly for managing your TLS certificates, if you’re using Let’s Encrypt certs. As with mail, if you’re able to manage a server without a control panel, this shouldn’t be a major impediment.

There are probably a handful of other things you’ll need to sort out. Virtualmin does a lot of stuff for you, that you’ll need to do yourself once it’s gone, and you’ll probably just need to figure them all out as you go…it’s not common to remove Virtualmin and keep the system running.

Thanks for the advice! I’ll keep that in mind

I’ll test it out. Thank you!

Just use virtualmin especially if you need to ask questions about backing up and moving a Linux server.

There will be no performance hit on your server and virtualmin will help you now and in the future.