I need to duplicate a web page with J4 + VM4 from one hosting to another. I have tried copying all the files and the database but it always gives me errors. Is there any method to do it right?
Copy the whole site or just a single page? The whole site is easy using Akeeba (https://www.akeeba.com/products/akeeba-backup.html)
To copy a single page and keep functionality would be very difficult. Maybe an iframe?
A complete site.
Are there some Joomla 4 and VirtueMart 4 files that need to be modified after the change of hosting?
Is the original J4/VM4?
What are the errors?
And no .. if it's J4/VM4 to J4/VM4 nothing needs changing apart from database details in configuration.php
But Akeeba is the way to go - exactly what it is designed for