Thanks a lot for this. It clarifies the doubt.
In that case I understand that I must be looking to create and use xshttpdest file for this. Is my understanding correct? I have created an SCN question for this as well. Could you please elaborate on that.