O nome do host dentro da solicitação HTTP (no cabeçalho Host ) será o nome do host na URL, www.domain.com em seu exemplo.
The Host request-header field specifies the Internet host and port number of the resource being requested, as obtained from the original URI given by the user or referring resource[.] - RFC 2616