You can change the Web API URL when configuring the PowerServer project to deploy to IIS.
If you have configured or want to configure a different site for running the Web APIs, you can click Edit and then specify the site URL in this field. You will need to create the specified IIS site and deploy Web APIs to the site by yourself (you can run http://[Web-API-URL]/health-ui to verify Web APIs is running successfully). (View more)