A government statement says the websites were not directly hacked, but a third party domain routing service that routes traffic to the government's site was compromised on Friday.
The statement says the third party service provider has fixed the problem, but it is expected to take up to 24 to 48 hours for service to get completely back to normal.
The government says until then, some users may still see the hacker’s website when they attempt to access Ontario.ca websites.
The government says the hacker's identity is not known but police have been contacted.
The government also says no personal information or any government data was ever at risk and the websites remain secure.
Also on HuffPost