Iphone 6 safari redirects me to a spam website
Ok, so I was at my girlfriend house a couple of days ago and she told me that every time she used safari it would redirect her to spam websites. The situation was widespread on all her devices, and roommates devices. When I checked my cellphone to google it happened to me to so I quickly turned off my wifi and everything was fine. A couple days later I was surfing the web on my cellphone while I was at my house and it happened again. It was on my own apartment this time. I don't know what it is and whats going on. the website that always redirects is this website: abc.apportium. My guess is that is malware or a virus that is infecting my network Is there anything I can do to solve my situation?
Thank you!
iPhone 6, iOS 8.4