This usually happens when the domain's DNS configuration is not pointing correctly to the new server.
Even if you have updated the A record, there might be an issue with DNS propagation, incorrect nameservers, or an outdated DNS record at your active DNS provider.
First, check which nameservers your domain is currently using. Then make sure the A record is updated in the correct DNS management panel.
You can also run this command to check where your domain is pointing:
dig yourdomain.com +short
Compare the returned IP address with your new server's IP address.
If both addresses match but the website still doesn't load, check your server's virtual host or domain configuration. The domain may not have been added correctly to the hosting account.
Remember, updating DNS records alone doesn't automatically configure a website on the new server.