I have ADSL router with Static IP from my Internet provider. I know that, if I connect my server to router it can be visible from internet (working webserver etc.), but how does clients getting page know that, request should be put to server (I assume, there are many other devices like PC's in that local network).
Asked
Active
Viewed 1,507 times
-3
-
What router do you have? – Joe Feb 08 '16 at 20:49
1 Answers
2
You use port forwarding on your router so that any traffic originated from the outside to your public address to a particular port number gets forwarded to the IP address of the server.
For a web server, you would forward ports 80 and 443 to your web server's IP address.

Ron Maupin
- 3,243
- 1
- 12
- 20
-
2And then advertise the public address in DNS so that clients can find it – Sander Steffann Feb 08 '16 at 21:37
-
If i will use port forwarding, will it not break connection to normal stations on that port? – rubion Feb 08 '16 at 22:28
-
2Normal stations should not be getting anything on ports 80 or 443. Those are well-known port numbers for web servers. – Ron Maupin Feb 08 '16 at 22:31