Transfer websites between VPS

SYSTEM INFORMATION
OS type and version Ubuntu 20.4.6
Webmin version latest
Virtualmin version Latest
Related packages Php7.4

Hi All!
On friday I will use the domain transfer for the forst time.
We have a VPS with 4 websies, 2 webshops and 2 recipe sites.
My plan is to spin up the new VPS, install Virtualmin and then transfer one by one domains. After each transfer I will change the ip in the dns (cloudflare) and if it works take the next
My question is: The 2 webshops cant run on php 8, many module need php7.4. So when I install virualmin on the new ubuntu 20.04 vps. Is php 7.4 installed or is it 8. If so, do I need to install php7.4 before I transfer the domains

Hope the q is not to blurry.

Regards
Anders

Why not just install php 7.4 on which ever version of Ubuntu you want (20.04, 22.04 or 24.04) and set the domains to run php 7.4 that need php 7.4 ?

Jimr1 got in before me, also lower your TTL in the dns a few days before moving so the rest of the world see the new records quickly. Default can take 24hour to propagate. I normally knock em down to a few minutes.

1 Like

This does not apply if webmin is hosting your DNS, but I don’t think many people seem to use webmin to host their DNS

No I use cloudflare and it propagate very quickly.
Thanks for the answers

I’ll have to investigate that, you maybe right as the can turn off proxy quickly.
Yep, 300seconds.

PHP 7.4 is the default PHP version in Ubuntu 20.04

I can understand reasons for selecting the OS as 20.04 but would it be better to take a more recent version? (saves upgrading later) v 22.04.4 is in good use and arguably better.

I’d be concerned about anything that requires an old (major) version of PHP but at least it isn’t 5.x

Well there is 2 reasons for the php version. Its 2 very busy webshops and they just runs without any issues month after month. They have a number of modules that dont work with php 8 and to replace them when they work flawless is in my opinion plain stupid.
And in general my opinion has always been that dont try to change something that work already.
We need the bigger vps to get more computing power so thats why it must be moved

unfortunately the day will come when the next major version will be released and significant chunks of the old version will be discontinued. putting ones head in the sand is fine for only so long.

will you have the same attitude to upgrading Webmin/Virtualmin and OS package updates?

more power? I assume is more cores and possibly memory / disk space does not your VM provider make an upgrade possible?

Stick your head in the sand? What is your problem? Sooner or later perhaps we need to invest the money to upgrade, but we are not there yet. /.4 will be around some years yet.
Unfortunately we need a bigger vps and the one we have cant be upgraded anymore. I am not using the cloud. But its not a problem, I could let them make a live migration but I want to have full control so we do it this way. If something goes wrong I can always restore backups from another server in the network.
About webmin/virtualmin we alsways use the latest on the servers where we use it. 2 mailservers has no cp at all and that is also ok. But I have got the answers I wanted so thiis one is solved

If you install php7.4 following the instructions in an earlier post you can install any php7.4 module you want. I have php7.4 installed in order to update older php apps to make use of the advances of php. In fact after changing some code it’s dead simple to switch php versions to test things out

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.