Two websites can't have the same name because registrars only allow one owner per domain name. If someone has already registered abc.com, nobody else can use it until it is abandoned by its owner.