Ok, was able to research this and found a fix. This will help you still use the deprecated centos 7 without issues :
Since cento7 is deprecated, it is no longer supported by VPS/HOSTING providers. You will have to replace the hosting service mirrow link with the centos vault link.
check where the mirros are for your hosting provider. If it is in an url like:
http://mirrors.DOMAIN.com, where DOMAIN.com is the hosting servicer domain, then:
replace
http://mirrors.DOMAIN.com with
https://vault.centos.org in the appropriate yum configuration files in /etc/yum.repos.d/.
You can just run this command and all will be replace. Remember, .DOMAIN is the domain of the hosting service
sed -i 's/http\:\/\/mirrors\.DOMAIN\.com/https\:\/\/vault\.centos\.org/g' /etc/yum.repos.d/*.repo