Activate the listeners and set origin policy on two allowed domains