New York magazine's website was apparently hacked Monday, just hours after the magazine published its cover story featuring 35 women allegedly sexually abused by Bill Cosby, according to reports.

The magazine was targeted by a hacker called "ThreatKing," who hates the city, not New York magazine or its story, according to The Daily Dot.

"We believe the outage was the result of a deliberate attack on our site," said a spokesman for the magazine.

The hacker said he targeted the website because of an incident that happened to him when he was in the city in which a man "pranked" him with a fake gun.

"I went to New York two months ago. It was really bad," ThreatKing said in a Skype interview with The Daily Dot. "Someone pranked me. Everyone started laughing and [expletive].

"That got me pissed," he added.

ThreatKing apparently first claimed responsibility for the hack on a Twitter account, @Vikingdom2016. The account has now been suspended.

He said the site was overwhelmed with a "distributed denial of service attack," overloading the magazine's servers with traffic.

Overnight, New York magazine tweeted its page was "experiencing technical difficulties. We are aware of the issue, and working on a fix."

Shortly after, the magazine tweeted out other ways to read the Cosby story, including listening to the women's testimony on their Instagram page and publishing the full story on their Tumblr page.

advertisement | advertise on newsday

By Monday afternoon the site had mostly been restored, but the magazine's spokeswoman said "there may still be intermittent problems."