domain and path paramenters required