I first got a 522 error then a 502 error now im getting a redirect too many times i dont know how to fix this please help me

Hello i have added my domain with the proper ip address and i got a 522 error then after a bit it was a 502 error now its a redirected to many times errors i cant get on my site i am positive i have everything setup correctly but it may still be wrong
my dns is setup like this
type:A name:admin content: myhostingip proxy is on
and i am positive i have all the proper ports open i am able to get on my webhosting using myip:8443

any help is appreciated need fixed asap thank you