In URL handling code, get the domain from config variable rather than hard coding it