Update connection.rb

Cater for domain with domain.my.com