I prefer not to use the HOSTS file, as if you reach a site you want to access, you have to manually go into the HOSTS file and remove the IP/URL. Whereas if you use this in uBlock Origin, you can simply whitelist the site or the domain in question that's causing problems.
You should be able to add either the domains or HOSTs versions to uBo and it will work fine (I just installed the HOSTs version)
Sorry if that isn't the answer you were looking for.
I prefer not to use the HOSTS file, as if you reach a site you want to access, you have to manually go into the HOSTS file and remove the IP/URL. Whereas if you use this in uBlock Origin, you can simply whitelist the site or the domain in question that's causing problems.
Thanks for your time, pogue