adding domains endpoint