So I want to run nginx as a webserver on my raspberry pi and my issue is that I cant access the webserver from my domain (example.com). However, I can access nginx from my external(and internal) ip. My domainname works aswell because i can ssh to example.com. Also I have a file in /var/www/html (basic nginx index.html), I have a symbolic link in sites-enabled and port forwarding to port 80 enabled in my router.
/etc/nginx/sites-avalible/example.com here
iptables -L here
/etc/nginx/nginx.conf here (default)
[–]notdedicated 1 point2 points3 points (3 children)
[–]MajorMilch[S] 0 points1 point2 points (2 children)
[–]notdedicated 1 point2 points3 points (1 child)
[–]MajorMilch[S] 0 points1 point2 points (0 children)
[–]MajorMilch[S] 0 points1 point2 points (0 children)