# Pihole setup issues

**URL:** https://discourse.pi-hole.net/t/pihole-setup-issues/14336
**Category:** Help
**Created:** [November 8, 2018, 9:30pm UTC](https://discourse.pi-hole.net/t/pihole-setup-issues/14336 "2018-11-08T21:30:00Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![RamSet](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/ramset/32/3497_2.png) [@RamSet](https://discourse.pi-hole.net/u/RamSet)
#### Post date: [November 9, 2018, 12:38am UTC](https://discourse.pi-hole.net/t/pihole-setup-issues/14336/12 "2018-11-09T00:38:57Z")

</div>

> [@kgoode517](#):
>
> The removal command worked but now I don’t have internet on the pi and it has knocked out my vnc server any suggestions on  
> that?

You could edit /etc/resolv.conf and specify a public DNS IP there (like google's 8.8.8.8 or cloudfare's 1.1.1.1) that will restore your connectivity.

> [@kgoode517](#):
>
> That makes sense about the two services crossing do you have any suggestions on how to keep them separated?

Check out discussions in this post:

> [@Migrating Pi-Hole from lighttpd to apache](https://discourse.pi-hole.net/t/migrating-pi-hole-from-lighttpd-to-apache/152):
>
> Is this possible? I could have SWORN I saw it done here on the forums, but now that I search it, I cannot find it at all. I've googled it, but only found: [https://www.reddit.com/r/raspberry\_pi/comments/47drti/pi\_hole\_apache\_webserver/](https://www.reddit.com/r/raspberry_pi/comments/47drti/pi_hole_apache_webserver/) which mentions to downgrade PH. But I rather not do that. My end goal is to also turn my RaspPi into a webserver, but I am mainly familiar with Apache and even Nginx. Also, some services I am wanting to reverse proxy into, I have instructions for Apache, but…

> [@kgoode517](#):
>
> I have tried entering just  
> primary dns as the pi and every dns as the pi nowhere does it allow me to enter the /24 at the end of the address does this matter?I note that when I do this I lose internet on the pi and my vnc server.

All you would need here would be the IP of Pi-hole.

One thing you need to make sure is that you set-up your Pi-hole installation to the correct interface (eth0) and from the admin interface, you set up the listening behavior (in your case ) to listen to all permit all origins.

That way both the LAN devices and VPN will go though Pi-hole.

---

_[View the full topic](https://discourse.pi-hole.net/t/pihole-setup-issues/14336)._
