For example, the following code would look to see if the subdomain was different and create a connection based on that: