Hello
I would like to know if it is possible to use pi hole configured raspberry pi together with a WIFI adapter like "Alfa AWUS1900" for example? so there would be no router included. the setup would look like this: WIFI adapter receives WIFI signal and passes through USB cable into raspberry pi and then from raspberry pi it would go through ethernet port and LAN cable into ethernet port of PC.
Is it possible to block ads this way? Does this feature exist or not yet?
Thank you
There needs to be a router to join the local network to the internet via an ISP. The router also usually looks after the local network addresses for all the devices on it, such the PC. It enables those devices to connect via ethernet, or wifi, into the router. The router also usually acts as the DNS server for the local network.
When you add a Pi-hole to the local network, it's just another device connected to the router. It acts as another DNS server, this time one which can block domains. You tweak the router's settings so that it stops offering itself as the DNS server, to the devices on the network, and starts offering the Pi-hole instead.
In your example you have a PC wired to the Raspberry Pi, and the Pi has an Alfa wifi adapter connected. Note that the Pi also has its own wifi built in as standard. It's not clear though where that Pi connects to. How does it talk to the Internet? It needs a router somewhere. Can you expand on what you had in mind, how this all works?
thank you for answering 
Okay i am aware that i cannot just plug the wifi adapter into raspberry pi and then to the PC. I need a router too. Check the uploaded illustration for explanation. something like this i would like to achieve. I need the alfa WIFI adapter because its long range adapter and has a lot of useful features. the WIFI of raspberry is not good choice for my setup i think. and the problem is that the ISP has locked the router so i cannot login without username/password. and the router from ISP is a combined router/WIFI AP so its alredy broadcasting WIFI. so my choice is to receive this WIFI signal somewhere on a different location and manage the DNS stuff somehow. Is it possible? I have read that such routers are rare if exist at all - which have USB port to connect a WIFI dongle. most routers with USB port are for uploading files, connecting printer, connecting network HDD, etc. but not for connecting WIFI adapter. So i might have drawn nonsense. But maybe a bridge would be good? or use as range extender? (i mean bridge or range extender where i have drawn the router)
Thing is i dont know anything about network implementation, infrastructure so it may be not possible what is on the illustration. How could i solve the DNS redirection on the location 2 side?
thank you
Your question does not have that many ties to Pi-hole.
The one aspect that relates to Pi-hole seems to be:
The answer is: Yes, as Pi-hole is completely indifferent to network transmission media.
Independent of Pi-hole, you'd generally want to make sure you have a reliably stable connection to your network. Wired connections are superior to wifi connections in that regard, so I'd recommend to use those if possible.
The answer you probably seek may very much depend on the actual distance between your two 'locations'. You haven't disclosed whether those would be two rooms on the same floor in the same house, or two houses in two different suburbs. Wifi connections would be fit for the former only, as wifi ranges are typically limited to a mere 20 to 30 meters indoors.
Since your question is geared towards selecting hardware for getting a stable connection between two locations, you should consider to consult other forums specialising in network equipment.
I recommend a wireless access point with a configurable DNS setting. You may try on Linux using HostAP but it's all text files and command-line driven. A hardware access point could do the task much simpler.
Wireless AC / AX is not yet open and these tiny usb wireless chips seem difficult to modify for no good reason.
My question does tie to pi hole - its true it has a bit changed when i have realized that i cannot connect it this way: wifi adapter-RP-PC (i thought maybe to configure RP as an router itself - i dont know if its possible so my question was regarding this).
but its still related to pi hole but i understand why you are saying to ask on other forum. If i dont get answer here i will ask on relevant forum. Thank you for pointing this out.
To answer the missing data: i have a backyard, a family house (location 1) and a "research/experiment room" (location 2) at the end of backyard approx. 20-30 meters away from house. My ISP has blocked access to router/AP in my house so i cannot modify settings. and i would need to setup pi hole mainly in the backyard room because thats where i use the net mostly. And i would like to have full control over my devices if i want to change something- so leave the ISPs router alone and create at location 2 my own network with pi hole enabled.
and since i cannot modify router settings in my house i thought maybe i could create a different network segment in the backyard room with its own router- or somehow configure the RP so it would act as an router/bridge or something like that and also as a pi hole DNS... and i wanted to solve the route from WIFI adapter by ethernet cable till the final device-PC. the only WIFI part should be between location 1 and 2.
thank you for the reply.
And would not it be possible to finish the line at PC with ethernet cable? i would prefer wire even if there would be WIFI between locations.
If i configure the RP as client/AP can i set its DNS to pi holes IP address? (thats basically itself). Sorry if the question is too dumb 
In part, and I've already answered that part.
For the non-Pi-hole stuff, you could consider to buy a low-priced wifi router with at least two ethernet ports, connect that to your main router's wifi, configure it to offer its own wifi, then put that into your remote backyard room, and connect your backyard PC to it.
You may want to relocate your ISP router in the main house to have a line-of-sight to your backyard wifi router, to improve connection quality. If that's not possible, a wifi repeater placed accodingly between your main and your backyard router may help.
Once that works, you have an option to put your RPi hosting Pi-hole into your main network, potentially filtering all your household's DNS traffic, or plug it into one of your backyard router's ethernet ports and filter only that backyard router wifi subnet.
Having your RPi take a double role as wireless access point and Pi-hole host potentially limits you to the backyard option, for filtering your whole household may invite the wrath of other members of your household if that wifi connection between your locations proves to be only a liitle less than reliable.
Yeah, I'll say, a wifi connection from the raspberry pi will be weaker than a regular wireless router. Not only is it VERY complicated to configure the programs necessary, regarding both the drivers, hostapd, and other needed software, uh yes it will be weaker signal.
So, I recommend just getting another wireless router as suggested, so you don't waste your time trying such a difficult setup that won't get you far.
thank you for your efforts. Since then i have found a better solution - without RP, using Oracle cloud. and it will be much simpler and better i think.
thank you again