Forums

Home Forums Miscellaneous I need help. Host File problem!

I need help. Host File problem!

This topic contains 4 replies, has 2 voices, and was last updated by  support 2 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2305

    Casino
    Participant

    I wanna block a specifi site through the host file, othert than with pcwrt.

    But i have a problem, there are sites that i can’t block through the host file.

    For example, if i wanna block a site, i write into the host file in this way:

    “127.0.0.1 www.jezebel.com” and it works.

    but this method doesn’t work with all sites. Infact if i want to block a semi-adult site like “emmreport.com” , i can’t.

    I tried in every possible way, writing, for example:

    127.0.0.1 https://www.emmreport.com/
    127.0.0.1 http://www.emmreport.com/
    127.0.0.1 https://emmreport.com/
    127.0.0.1 http://emmreport.com/
    127.0.0.1 emmreport.com/

    NOTHING, the site is not blocked. If i insert 10 sites into the the host file, 7 sites are normally blocked, and 3 not.

    I tried to replace 127.0.0.1 to 0.0.0.0, no one result

    What can i do?

    • This topic was modified 2 years, 9 months ago by  Casino.
    • This topic was modified 2 years, 9 months ago by  Casino.
    #2308

    Casino
    Participant

    I’ve found the solution: You need to write them in this way:

    127.0.0.1 emmreport.com www.emmreport.com

    #2309

    support
    Participant

    @casino You only need 127.0.0.1 emmreport.com, not the http://… part.

    But you need to list all domains and subdomains. For example, listing 127.0.0.1 jezebel.com does not make www.jezebel.com point to 127.0.0.1.

    You can use ping to test, e.g., “ping jezebel.com”.

    #2312

    Casino
    Participant

    For example, can you write me all domains and subdomains of “jezebel.com”?

    I don’t understand so much this step.

    #2315

    support
    Participant

    @casino It’s not possible to list all subdomains of jezebel.com, because they can add or remove subdomains any time. What you can do is list jezebel.com first and see if the site you tried to visit is blocked. If not, add those (sub)domains to your list.

    It’s a lot easier to block the domains on the router – you don’t need to worry about subdomains. Just add “jezebel.com” to the blocked list and you are covered for all subdomains also.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.