Installing macOS won't work
So recently i wiped my iMac disk and tried reinstalling macOS and it will not work no matter what, I've tried the following things:
• Going into recovery mode (doesn't work because it tells me "Recovery server could not be contacted")
• Going into internet recovery mode (originally this didn't work because after the spinning globe there would be an apple logo just loading for an infinite time, but then i tried booting my mac while only holding the "option" key which allowed me to connect to wifi and from there, i went into internet recovery mode, but that's where the real problem came, first off i noticed that my mac wanted me to install macOS X Lion which i was confused by because my mac should be able to install newer os, it should have been high sierra i believe, but despite that i tried installing it anyways but then the 2nd and 3rd problem came: the installation time had an completely unnecessary time, like minus 2 million or something, also a few minutes in the install, it would give me a message saying "Can't Download The Additional Components Needed To Install Mac OS X")
So please help me out with this problem. If you're wondering, my mac is from mid 2011.
Earlier Mac models