Hi Imad,
First you should always use Domain\username. The issue you are running into is because your Cert is covering one domain but probably not the other. You need to get a Cert that covers both domains typically people use a 3rd party Cert from GoDaddy or a site like that for this.