# Custom URL for Dashboard

**URL:** <https://discourse.nodered.org/t/custom-url-for-dashboard/39898>\
**Category:** General\
**Created:** [27 January 2021 22:15 UTC](https://discourse.nodered.org/t/custom-url-for-dashboard/39898 "2021-01-27T22:15:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaCleodWalker](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MaCleodWalker](https://discourse.nodered.org/u/MaCleodWalker)\
**Post date:** [27 January 2021 22:15 UTC](https://discourse.nodered.org/t/custom-url-for-dashboard/39898/1 "2021-01-27T22:15:39Z")

</div>

I know that the dashboard only has 1 endpoint but would it be possible to set the tabs to a url such as "serverip:1880/ui/example" ? if so how would you go about doing that?

---

<div class="post-metadata">

**Author:** ![droberts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/droberts/32/40295_2.png) [@droberts](https://discourse.nodered.org/u/droberts)\
**Post date:** [28 January 2021 14:23 UTC](https://discourse.nodered.org/t/custom-url-for-dashboard/39898/2 "2021-01-28T14:23:39Z")

</div>

The documentation for the UI Node says you can change the main endpoint as below. I don't think you can change the address of the tabs.

The last post in here, with some modification might work for you - [Configuring a dashboard tab in response to a URL - #6 by Nxito](https://discourse.nodered.org/t/configuring-a-dashboard-tab-in-response-to-a-url/19106/6)

> The default url for the dashboard is based off your existing Node-RED httpRoot path with /ui added. This can be changed in your Node-RED settings.js file - `ui: { path: "ui" },`
> 
> You can also add your own express middleware to handle requests by using the `ui: { middleware: your_function }` property in settings.js. For example
> 
> ```auto
> ui: { path: 'ui', middleware: function (req, res, next) {
> // Do something more interesting here.
> console.log('LOGGED')
> next()
> }
> },
> 
> ```

```auto

```

---

<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:** [29 March 2021 14:23 UTC](https://discourse.nodered.org/t/custom-url-for-dashboard/39898/3 "2021-03-29T14:23:51Z")

</div>

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