connecting repo to domain