# First time visits without 'www.' show as blocked

**URL:** https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864
**Category:** Help
**Created:** [December 9, 2017, 9:52pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864 "2017-12-09T21:52:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sinyc](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sinyc](https://discourse.pi-hole.net/u/sinyc)
#### Post date: [December 9, 2017, 9:52pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/1 "2017-12-09T21:52:44Z")

</div>

#### Please follow the below template, it will help us to help you!

## Expected Behaviour:

To be able to hit a new previously unvisited website without typing in 'www.'.

## Actual Behaviour:

For example, I have never browsed to 'bbc.com' since I installed my Pi-Hole. When I just tried now, I got the pi-hole blocked page. I also ran a ping from powershell to 'bbc.com' and it returned the IP of my Pi--Hole. I then pinged 'www.bbc.com' and it correctly returned the expected IP for this news site.

## Debug Token:

6howz77f8s

I assume some people went overboard in their adlists and blocked domains without 'www.' since they are treating it as a sub-domain? Which I think is wrong. Is there a way to redirect or train my pi-hole without going to each list and deleting the offending line?

---

<div class="post-metadata">

### Author: ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)
#### Post date: [December 9, 2017, 9:56pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/2 "2017-12-09T21:56:47Z")

</div>

You can whilelist the bare domain for that site. [How do I whitelist or blacklist a domain?](https://discourse.pi-hole.net/t/how-do-i-whitelist-or-blacklist-a-domain/244)

---

<div class="post-metadata">

### Author: ![sinyc](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sinyc](https://discourse.pi-hole.net/u/sinyc)
#### Post date: [December 9, 2017, 10:39pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/3 "2017-12-09T22:39:12Z")

</div>

Hi Dan,

Thanks for the reply. I have been whitelisting some of these. But I am finding lots and lots in the ad lists that are just 'website.com'. I get that www.website.com and website.com are two different things to DNS. But outside of manually whitelisting all these sites is there anything I can do to redirect non-www URLs to www on my side? I know hosting providers and website owners have that control, but do we?

---

<div class="post-metadata">

### Author: ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)
#### Post date: [December 9, 2017, 10:41pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/4 "2017-12-09T22:41:26Z")

</div>

You'd have to have some sort of proxy that rewrote all the urls from one to the other. Since each website asset (image, script, directory) would have to be rewritten you may end up causing latency. If that's the direction you want to go through, `squid` may be able to help you.

---

<div class="post-metadata">

### Author: ![sinyc](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sinyc](https://discourse.pi-hole.net/u/sinyc)
#### Post date: [December 9, 2017, 11:07pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/5 "2017-12-09T23:07:35Z")

</div>

Thanks for the replies. This is for my parents house and they get confused when they see a site like that "blocked". Just trying to cut down on the calls for Tech Support to me!

---

<div class="post-metadata">

### Author: ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)
#### Post date: [December 9, 2017, 11:18pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/6 "2017-12-09T23:18:39Z")

</div>

I understand, we try to make things as simple as possible. Is this something that you've seen increase since the latest release?

---

<div class="post-metadata">

### Author: ![sinyc](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sinyc](https://discourse.pi-hole.net/u/sinyc)
#### Post date: [December 10, 2017, 1:19am UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/7 "2017-12-10T01:19:50Z")

</div>

I have noticed it before the latest release. But would either just not go to the link or put a www. in the URL if I actually wanted to view the content. Was just seeing if anyone else got around this or if there is anything on the Pi-Hole we can do to help.

---

<div class="post-metadata">

### Author: ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)
#### Post date: [December 10, 2017, 1:06pm UTC](https://discourse.pi-hole.net/t/first-time-visits-without-www-show-as-blocked/5864/8 "2017-12-10T13:06:10Z")

</div>

> [@sinyc](#):
>
> But I am finding lots and lots in the ad lists that are just ‘website.com’. I get that www.website.com and website.com are two different things to DNS. But outside of manually whitelisting all these sites is there anything I can do to redirect non-www URLs to www on my side?

According to your debug log, you have added several additional block lists. Some of theses lists get overzealous and block legitimate things. It's part of the reason we only ship with a few lists.

I think you reverted to the default lists, you'll have a much better experience.
