<div dir="ltr"><div dir="ltr"><div dir="ltr">Here's an example of a request header. The IP and host name are in the request header. This is a Bingbot request. For a ban I usually only use the IP.</div><div dir="ltr"><br><div><div>2019-02-11:00:03:53</div><div>URL: /wp/tag/fire-code/</div><div>IP: 157.55.39.xxx</div><div>Accept: */*</div><div>Accept-Encoding: gzip, deflate</div><div>Cache-Control: no-cache</div><div>Connection: Keep-Alive</div><div>From: bingbot(at)<a href="http://microsoft.com">microsoft.com</a></div><div>Host: <a href="http://ewxample.com">ewxample.com</a></div><div>Pragma: no-cache</div><div>User-Agent: Mozilla/5.0 (compatible; bingbot/2.0; +<a href="http://www.bing.com/bingbot.htm">http://www.bing.com/bingbot.htm</a>)</div><div>X-Https: 1</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Feb 2019 at 11:32, Giles Orr via talk <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Fri, 22 Feb 2019 at 11:12, James Knott via talk <<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02/22/2019 11:00 AM, Don Tai wrote:<br>
> A host will have a number of IPs, a box is on a specific IP, there<br>
> will be a number of web sites on the same box, many domain names<br>
> pointing to the same IP. For example my sites are on a box with 25<br>
> different sites that I know of, all pointing to the same IP. If one of<br>
> them causes a ban on the IP then all sites are affected/banned.<br>
<br>
If each server has the same IP, how are they differentiated?  The only<br>
ways I know are to use non standard port numbers or extend the host name<br>
with a suffix after a /.<br>
</blockquote></div><div><br></div><div><div>A single instance of Apache or Nginx (and probably most other HTTP 
servers) can handle multiple names on one port at one IP address.  We 
use this ability a fair bit at my work: the web server determines what 
name you're looking for from the incoming header, looks at its own 
config to find out where on the box that website is stored, and responds
 with the proper information.  The most obvious implementation of this is hosting sites who have used this ability for around 
20 years.</div><div><br></div><div>Presumably similar things can be done
 with most other incoming services, although I'm most familiar with the 
behaviour of web servers.</div></div><br>-- <br><div dir="ltr" class="gmail-m_4091623599707387718gmail_signature">Giles<br><a href="https://www.gilesorr.com/" target="_blank">https://www.gilesorr.com/</a><br><a href="mailto:gilesorr@gmail.com" target="_blank">gilesorr@gmail.com</a></div></div>
---<br>
Talk Mailing List<br>
<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a><br>
<a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">https://gtalug.org/mailman/listinfo/talk</a><br>
</blockquote></div></div>