I have a web server on my lan and I want to expose it to the internet. Since I only have one public ip address, my question is: when tcp/ip request comes to my router via dns, how my router will know which site to choose as a destination?
e.g 1st site is http://sitenumberone.net and 2nd http://sitenumbertwo.net
since both will have the same dns resolution(the same public ip) I am trying to understand how can i filter the trafic on my router and to direct the data to the proper site. i am confused since both use port 80.
thanks