updates to separate out public URL from internal/admin URL