Hi,
The Next Page URL in Virtual DataPort points to the response of that first request using the path specified in the Next Page URL section. Then, in the subsequent request it will fetch the details depending on the base URL. You will not be able to replace/pass a new base URL in Denodo. One solution would be to change the base to an appropriate URL if you have a lot of URLs different from the current base URL.
Hope this helps!