Web hosting behind pfsense
I am new to pfsense and so far i love it but i dont understand everything!
I setup a web server behind my pfsense and everything works great, the only issue i have is when i am on the same network with pfsense and i type in my www.domain.com it shows an error of ERR_NAME_RESOLUTION_FAILED
however if i use a different outside network like my cell phone or any other network, not internally on my pfsense router then it works just fine and i can see my website.
please let me know how to fix this issue!
Fix your LAN DNS.
if you can please explain to me how, that would be great! i am new at pfsense and i dont really know how to use it properly.
Your DNS for your LAN connection is either non-existent or misconfigured. The easiest thing to do would be to set your pfSense machine as a DNS forwarder and create a static entry for your web server (eg www.domain.com) so that your LAN users will be able to access your web server from it's internal address. I'm assuming your web server is sitting on your LAN or a DMZ. Consult this link for more info: https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks%3F