Hi Ron,
This answer will be in multiple parts, because I believe your "problem" is that you are assuming something which is not fact. So this answer will take the form of a number of questions which will lead us to the incorrect assumption.
a) >> PROBLEM: I need to run the app locally on my dev. machine for testing in local mode
So, just to be clear, you have a server out there on the web with a dns name and a certificate, but of course you are developing locally on your machine. So you run locally, then deploy to the server once you are ready?
b) what URL do you use for your main server, and what URL for your local machine?
I presume you are using the Settings Control template on the WebServer window. Are you?
Cheers
Bruce