If something hijacked your hosts file it would affect both ethernet and wifi, so it can't be that.
I can't see a virus blocking access to a single site on only 1 network connection.
If anything a virus/trojan would redirect your homepage to a different site, but that would be for all network connections, wifi and ethernet.
Make sure both your ethernet dns servers are set to automatic or at least the same as your wifi's dns servers.