solo pippo.appl.mc

per https c'è una var apposita $_SERVER['HTTPS'] (se non c'è, il protocollo è http)