Can't set up port forwarding

谁说胖子不能爱 提交于 2021-01-29 08:19:25

问题


So recently I started making a raspberry pi web server with apache and php, and so far I could change the html file in the default debian site and make my server go online, the only problem is that I don't how to make it public.I set up port forwarding but I'm not sure that which IP should my domain name point to (my local, or my public one) and also I'm not sure i set up port forwarding right, if possible please write down the port forwarding step by step (I'm using a D-Link router). Thanks a lot.


回答1:


For Port Forwarding open your router:

login >> manual setup >> Advanced Tab >> portforwarding rules >> give your local ip address of the webserver pointing to >> for hhtp(web) open port 80 >> save the settings.

there you go you can access your server from internet.

if you like, upgrade it to https using some ssl/ certificate process, there are so many youtube tutorials which could show this.



来源:https://stackoverflow.com/questions/53520982/cant-set-up-port-forwarding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!