Trouble with ionic proxy

I am trying to set up the ionic proxy for live reload. It however fails for an unclear reason:

Request URL:
/php/getData.php

ionic.config.json

{
  "name": "MyApp",
  "app_id": "",
  "type": "ionic-angular",
  "integrations": {
    "cordova": {}
  },
  "proxies": [
    {
      "path": "/php",
      "proxyUrl": "https://mydomain/php"
    }
  ]
}

Connect to iOS Simulator with debugger, if fails with:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.0.20:8100/php/getData.php

Why does the system translate it to the local ip instead of the domain name? Is there a way to troubleshoot this or debug?

Thank you in advance!

That is because http requests pass through a proxy.
If you have correct CORS in your server you do not need to use proxy at all.

So you mean I have to adjust CORS in Apache on my server instead of on the develop machine?