Trying to apply updates returns status code 404

Trying to apply updates, dnf update returns Status code: 404 for http://r.vestacp.com/cmmnt/8/x86_64/repodata/repomd.xml

r.vestacp.com is not listed in https://mirrors.almalinux.org/

You could do sudo dnf --enablerepo=* clean all to remove all cached data about repositories.
That might give you access to different, functional mirrors.

Thanks. That resolved it. Not sure where the old references came from…