# Default endpoint for ui /ui

**URL:** <https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720>\
**Category:** Dashboard\
**Created:** [21 February 2024 06:28 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720 "2024-02-21T06:28:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsingh888](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rsingh888](https://discourse.nodered.org/u/rsingh888)\
**Post date:** [21 February 2024 06:28 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/1 "2024-02-21T06:28:34Z")

</div>

Hi,  
While I am aware that we can change default endpoint /ui from settings.js but is there a way to achieve this from the node-red console itself. As I need to host multiple UI forms

thanks  
Rajeev

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [21 February 2024 07:28 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/2 "2024-02-21T07:28:36Z")

</div>

Can you explain what your trying to achieve in greater detail?

Are you trying to create multiple node-red instances for multiple individual users?

I've done this using nginx and with the exec node I can spin up individual instances.  
Its not easy .... this is just a segment of what im doing.

 ![Screenshot from 2024-02-21 01-44-25](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1caabfe27353ba9bbc6063eb2b41043ac3ea5c8f.jpeg)

If you just want to edit the settings.js you can do it from within node-red using the exec node or with the file node. Then restart the node-red instance using the exec node.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 February 2024 07:42 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/3 "2024-02-21T07:42:31Z")

</div>

> [@meeki007](#):
>
> I've done this using nginx and with the exec node I can spin up individual instances.  
> Its not easy .... this is just a segment of what im doing

Sorry, for hijacking the thread but when I see a comment like this I wonder if a person knows about [FlowFuse](https://flowfuse.com)? It is OS and gives you this OOTB (and much more).

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [21 February 2024 07:45 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/4 "2024-02-21T07:45:28Z")

</div>

@Steve-Mcl

Flow Forge (im treating this like twitter 😛 ) was not around 5 years ago when I needed individual instances for each user. This is not external and has no access to the big bad internet.

If the Original Poster was going to say yes or outline something that needed what I'm up to I was going to recommend [https://flowfuse.com/](https://flowfuse.com/) I've had to recommend it a few times in the last few months. If it was around 5 years ago I would have less grey hair.

[01 - I recommend paying for flowfuse.com](https://discourse.nodered.org/t/multiple-node-reds-with-shared-files/85084/15)

[02 - or pay someone else to do it for you -----\> https://flowfuse.com/](https://discourse.nodered.org/t/nodered-hacked-by-adding-invisible-nodes/83860/59)

I do not think that a link to flowfuse should become the default answer if people want to learn and join me in the grey hair club 🙂

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 February 2024 08:15 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/5 "2024-02-21T08:15:51Z")

</div>

> [@meeki007](#):
>
> I do not think that a link to flowfuse should become the default answer if people want to learn

No, you are right. If it's for learning, `ave at it.

PS, yeah I remember I have have seen your posts (appreciated). I try not to recommend FlowFuse too often so as not to annoy the regulars (I think maybe ~10 out of 14k posts is ok surely?) but sometimes it's easier than leading the horse to water.

---

<div class="post-metadata">

**Author:** ![rsingh888](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rsingh888](https://discourse.nodered.org/u/rsingh888)\
**Post date:** [21 February 2024 08:51 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/6 "2024-02-21T08:51:05Z")

</div>

No i don't need multiple instances. In a single instance i want to host multiple ui.

For eg  
[Http://localhost/form1](Http://localhost/form1)  
[Http://localhost/form2](Http://localhost/form2)  
[Http://localhost/form3](Http://localhost/form3)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [21 February 2024 09:05 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/7 "2024-02-21T09:05:47Z")

</div>

I do not believe that is possible with dashboard.

You could use the http in and response nodes and serve the forms from there using template and function nodes. You can also use websocket nodes to recieve/update the html page served from the http in/response nodes.  
There are examples in the cookbook.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 February 2024 10:25 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/8 "2024-02-21T10:25:49Z")

</div>

[Dashboard 2.0](https://dashboard.flowfuse.com/) permits you to set the path of a page

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aa2ce31e117bb2779806c0a3137e9411bf744b06.png)

So if suitable, you could have:

- `http://localhost:1880/dashboard/form1`
- `http://localhost:1880/dashboard/form2`
- `http://localhost:1880/dashboard/form3`

If you truly want `http://localhost/form1` then you would probably want to put something like HAProxy or NGINX in front of it

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [21 February 2024 11:30 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/9 "2024-02-21T11:30:56Z")

</div>

And with dashboard 1 you can apparently use

`http://localhost:1880/ui/#!/form1`  
`http://localhost:1880/ui/#!/form2`  
`http://localhost:1880/ui/#!/form3`

`ui/#!` is unfortunately not a very user friendly bit of the URL. What is `#!` for anyway?

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [21 February 2024 13:00 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/10 "2024-02-21T13:00:29Z")

</div>

Angular 1 Legacy

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [21 February 2024 13:01 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/11 "2024-02-21T13:01:41Z")

</div>

For Dashboard 2.0 - this is correct.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 February 2024 15:16 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/12 "2024-02-21T15:16:04Z")

</div>

On D1, those are routes and not isolated. All routes are in the browser for all connected clients AFAIK.

D2 allows multiple separate pages.

UIBUILDER also allows both for multiple pages and separated content for different client connections.

---

<div class="post-metadata">

**Author:** ![rsingh888](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rsingh888](https://discourse.nodered.org/u/rsingh888)\
**Post date:** [22 February 2024 06:42 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/13 "2024-02-22T06:42:45Z")

</div>

> [@Steve-Mcl](#):
>
> If you truly want `http://localhost/form1` then you would probably want to put something like HAProxy or NGINX in front of it

This would serve the purpose. Can you please point me to the documentation, unable to find this node

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [22 February 2024 06:57 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/14 "2024-02-22T06:57:07Z")

</div>

> [@Steve-Mcl](#):
>
> HAProxy

> **[HAProxy - The Reliable, High Perf. TCP/HTTP Load Balancer](https://www.haproxy.org/)**
>
> Reliable, High Performance TCP/HTTP Load Balancer

> [@Steve-Mcl](#):
>
> NGINX

> **[Advanced Load Balancer, Web Server, & Reverse Proxy - NGINX](https://www.nginx.com/)**
>
> NGINX accelerates content and application delivery, improves security, and facilitates availability and scalability for the busiest websites on the Internet.

---

<div class="post-metadata">

**Author:** ![rsingh888](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rsingh888](https://discourse.nodered.org/u/rsingh888)\
**Post date:** [22 February 2024 07:44 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/15 "2024-02-22T07:44:01Z")

</div>

Sorry I did not mean documentation for LB or NGINX. I meant documentation for  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aa2ce31e117bb2779806c0a3137e9411bf744b06.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [22 February 2024 07:53 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/16 "2024-02-22T07:53:52Z")

</div>

> **[Config: UI Page ui-page | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/config/ui-page.html#config-ui-page-ui-page)**
>
> Documentation for Node-RED Dashboard 2.0, a collection of nodes to build out data visualisations and dashboards in Node-RED

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 March 2024 07:54 UTC](https://discourse.nodered.org/t/default-endpoint-for-ui-ui/85720/17 "2024-03-23T07:54:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
