The mapping of IP addresses to domain names on a server is done through the webserver configuration.
NginX's approach is quite straight-forward: Multiple server blocks, each block has a `listen` directive where you set the IP address, followed by a `server_name` directive that specifies the...