How to make nginx work with dyndns? -


i trying make local site work on web dyndns. using nginx server. here have in file located in 'sites-available':

server { listen 80 default; server_name mydyndnshost; ...

if add "mydyndnshost" listen, nginx fail start. if leave this, work, localy, if access "mydyndnshost" in browser, won't show site. show router login screen. lol

sounds need open inbound tunnel in router/firewall. mydyndnshost name pointing public ip, router/firewall answers. you'll need configure rule "when receiving hits on port 80, forward them port 80 of (my server)" or similar.

edit: oh, , turn off public login ability on router. should (normally) accessible inside only.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -