Triangulation is only used for the realtively nearby stars - those within roughly 100 light years or so. Beyond that, other methods (increasingly more sophisticated and difficult) are used to find distances to further stars, to the nearer galaxies, to the mid-distance galaxies, to the furthest galaxies...