Post B6ecVdlundp077HB5M by focaccina@troet.cafe
(DIR) More posts by focaccina@troet.cafe
(DIR) Post #B6ecVdVxkx3rJdoRDk by livho@tech.lgbt
0 likes, 0 repeats
Students sometimes have interesting questions. Today in the Computer Networks exercise a student asked why we need to specify the host in a GET request if we know the IP address of the host. I made an educated guess and luckily I was right.
(DIR) Post #B6ecVdlundp077HB5M by focaccina@troet.cafe
0 likes, 0 repeats
@livho can't just tell us about the question and then not give the answer 🤨 /lhWhat is the answer then?
(DIR) Post #B6ecVdxy4pSkiUuns8 by livho@tech.lgbt
0 likes, 0 repeats
@focaccina So, here's the answer. There might be multiple domains sharing the same IP address as they are all hosted on the same server and the reverse proxy handling all incoming traffic needs a way to decide to which domain it needs to forward the request.
(DIR) Post #B6ecVe8FSbgbENj0tc by brettm@swarm.coiloptic.org
0 likes, 0 repeats
CC: @focaccina@troet.cafeI think that feature got brought in a while back due to earth running out of ipv4 addresses. So 20 domains or whatever could all share one address (and one webserver) instead of needing one each.