hi,
it depends on which webserver you use, but roughly it should be something like this:
* copy files and transfer to new server/VM
* configure webserver on the new VM (config can be copied and adapted from the old one)
* change DNS records for the website if public IP is different