dinamically calculate domain name