public void addAlias(Origin alias,Origin target){
  aliases.put(alias,target);
}

public void addAlias ( Origin alias , Origin target ) { aliases . put ( alias , target ) ; }
adds an alias from one origin to another . requests with a hostname matching the alias will instead be sent over a connection to the target origin . host headers will remain unchanged . if the target origin contains a raw ip address , x . 509 certificate validation for a new connection will be performed using the hostname of the alias . otherwise the connection will use the properties of the target origin for certificate validation . note : this is an advanced feature allowing more than one domain to be multiplexed over a single connection and / or dns to be bypassed , and has security ramifications that should be well understood before use in a production application .
