# Changing the App Deployment URL

**URL:** <https://forum.flowable.org/t/changing-the-app-deployment-url/4084>\
**Category:** Flowable Engine\
**Created:** [June 25, 2019, 10:58pm UTC](https://forum.flowable.org/t/changing-the-app-deployment-url/4084 "2019-06-25T22:58:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![righthireinc](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/righthireinc/32/770_2.png) [@righthireinc](https://forum.flowable.org/u/righthireinc)\
**Post date:** [June 25, 2019, 10:58pm UTC](https://forum.flowable.org/t/changing-the-app-deployment-url/4084/1 "2019-06-25T22:58:26Z")

</div>

Hi,

I have a deployed the flowable rest api (spring boot starter rest) on a specific server: **port1**. I have my UI Applications running on a different port ( **port2** ) on the same server.

I have changed all the URLs in the Admin application to point to the Spring Boot Flowable Rest Api Server **port1**. This is working fine and I am able to view any process that I deploy to the process folder (under resources folder) in my Process Modeler and Admin UI applications.

I also changed the property **flowable.modeler.app.deployment-api-url** in the flowable modeler WAR file ( **WEB-INF\classes\flowable-default properties** file) to point to server: **port1** so that when I deploy an app from the Process Modeler UI application, it is successfullyu deployed.

However, the deployment is not successful. In the Google developer tools, I see that a http POST is being done to URL [http://server](http://server): **port2** /flowable-modeler/app/rest/models/5367f489-978f-11e9-b64b-00155d6f9b3f. This seems to be based on a setting in WEB-INF\classes\static\scripts\configuration\url.config.js file in the modeler WAR directory structure.

What am I doing wrong? How can I deploy the app from server:port2 (running UI applications) to server:port:1 (running Flowable Spring Boot Rest API)?

Thank you.

Sunil

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [June 26, 2019, 7:16am UTC](https://forum.flowable.org/t/changing-the-app-deployment-url/4084/2 "2019-06-26T07:16:09Z")

</div>

Hey Sunil,

The deployment from the Flowable Modeler UI Application is happening from the backend. The Flowable UI Modeler calls its own backend to trigger a publish. The POST you are seeing is for creating a model for editing. The publish is being triggered in the app by doing a POST to `/rest/app-definitions/{modelId}/publish`. This then uses the `flowable.modeler.app.deployment-api-url` to publish the app to the engine.

Cheers,  
Filip

---

<div class="post-metadata">

**Author:** ![righthireinc](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/righthireinc/32/770_2.png) [@righthireinc](https://forum.flowable.org/u/righthireinc)\
**Post date:** [June 26, 2019, 12:07pm UTC](https://forum.flowable.org/t/changing-the-app-deployment-url/4084/3 "2019-06-26T12:07:18Z")

</div>

Hi Filip,

As I mentioned in my post:

> [@righthireinc](#):
>
> I also changed the property **flowable.modeler.app.deployment-api-url** in the flowable modeler WAR file ( **WEB-INF\classes\flowable-default properties** file) to point to server: **port1** so that when I deploy an app from the Process Modeler UI application, it is successfullyu deployed.
> 
> However, the deployment is not successful.

Am I changing this property in the correct location? If so, what else should I do to make it work?

Sunil

---

<div class="post-metadata">

**Author:** ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)\
**Post date:** [June 26, 2019, 12:30pm UTC](https://forum.flowable.org/t/changing-the-app-deployment-url/4084/4 "2019-06-26T12:30:55Z")

</div>

Hi,

please have a look here; [https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html)

How are you running the apps? If you have them deployed on for example Tomcat it’s perhaps easier to place a `application.properties` file in the `<tomcat>/lib` folder. Here you can define your properties.

Regards,

Yvo
