Can a website on safari give you a virus? I was browsing around on good ol' Sarari when all of a sudden, when I tapped on a website that I had successfully visited before, I was redirected to a site simply called Addware Detected !! On screen a notification popped up telling me that Addware/spyware may be on my iPad (2). It give a list of effects that it may have and tells me to contact IOS Tech support and list a number. There is a "ok" button at the bottom of the pop up but when ever I tap it it just comes back up and I cannot change tabs or open the history or anything. I had to download the Google app just to post this. Now what I want to know is is this real? And should I contact the number?
Do not contact the number it is a scam.

This is my advice from several sites including an Apple support document Note the document covers both OS X and iPhone/iPad/iPod Touch.

On iOS this is just a javascript pop up which just affects the page you are on and is just a message. To get rid of it close the browser,  iOS 9 might then prompt you with a Block Alerts button, if so tap the button to stop showing alerts from that webpage.

If you can't close the page then force quit the browser and don't go back to that page.

The writer of the script wants you to ring and the discussion will include asking you for money, it is a scam.