# How to block or allow a domain on Android

**URL:** <https://community.blokada.org/t/how-to-block-or-allow-a-domain-on-android/266>\
**Category:** Android\
**Tags:** ad-blocking, android\
**Created:** [June 25, 2020, 4:36pm UTC](https://community.blokada.org/t/how-to-block-or-allow-a-domain-on-android/266 "2020-06-25T16:36:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c\_C](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/c_c/32/60_2.png) [@c\_C](https://community.blokada.org/u/c_C)\
**Post date:** [June 25, 2020, 4:36pm UTC](https://community.blokada.org/t/how-to-block-or-allow-a-domain-on-android/266/1 "2020-06-25T16:36:45Z")

</div>

_This article describes how to block/allow domains on Android. For iOS check [this](https://community.blokada.org/t/how-to-manually-block-or-allow-additional-domains/408/) article._

The easiest way to do add domains to Ad blocking / Blocked Hosts or Allowed Host is to search the Host log (which is a submenu of Ad blocking) for the domain you want to add. Tap on it and either tap ‘block’ or ‘allow’.

If you want to manually enter a domain in one of those menus be sure to follow this format:  
`example.com`  
You can also add the same domain with a ‘www.’ in the beginning. In prior versions this helped blocking the domain. Use this format:  
`www.example.com`  
You can also enter domains with a subdomain. Be sure to follow this format:  
`adserver1.example.com`  
`www.adserver2.example.com`

Do NOT include the protocol (e.g. `http://` or `https://`) or the the rest of a link (e.g. `/download/v42`). Remember Blokada blocks whole (sub)domains.

If you face problems blocking or allowing a domain be sure to check out [this](https://community.blokada.org/t/how-to-manually-block-domains-in-blokada/96) guide as well.

 ![Image explaining what part of a link to add](https://europe1.discourse-cdn.com/flex017/uploads/blokada/original/1X/8fbd531722e6c746bc79745cc3748957f5286246.png)  
_This image shows what to add to Blocked Hosts or Allowed Hosts_

---

<div class="post-metadata">

**Author:** ![Pete122](https://dub1.discourse-cdn.com/flex017/user_avatar/community.blokada.org/pete122/32/13288_2.png) [@Pete122](https://community.blokada.org/u/Pete122)\
**Post date:** [January 27, 2022, 1:23am UTC](https://community.blokada.org/t/how-to-block-or-allow-a-domain-on-android/266/2 "2022-01-27T01:23:12Z")

</div>

Can you block yourtube adverts

---

<div class="post-metadata">

**Author:** ![PrimaDonut](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@PrimaDonut](https://community.blokada.org/u/PrimaDonut)\
**Post date:** [January 27, 2022, 4:51am UTC](https://community.blokada.org/t/how-to-block-or-allow-a-domain-on-android/266/3 "2022-01-27T04:51:45Z")

</div>

Search icon at the top works wonders [Can I block YouTube ads using Blokada?](https://community.blokada.org/t/can-i-block-youtube-ads-using-blokada/61)
