# How can I open a web page from a different port on the same server in an iFrame on the dashboard?

**URL:** <https://discourse.nodered.org/t/how-can-i-open-a-web-page-from-a-different-port-on-the-same-server-in-an-iframe-on-the-dashboard/6514>\
**Category:** Dashboard\
**Created:** [7 January 2019 15:04 UTC](https://discourse.nodered.org/t/how-can-i-open-a-web-page-from-a-different-port-on-the-same-server-in-an-iframe-on-the-dashboard/6514 "2019-01-07T15:04:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timw1971](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@timw1971](https://discourse.nodered.org/u/timw1971)\
**Post date:** [7 January 2019 15:04 UTC](https://discourse.nodered.org/t/how-can-i-open-a-web-page-from-a-different-port-on-the-same-server-in-an-iframe-on-the-dashboard/6514/1 "2019-01-07T15:04:48Z")

</div>

Hi,

I have NR running on a Raspberry Pi. Dashboard and flows working nicely. I need to add a user interface that provides CRUD functionality on multiple, related tables (MySQL). My gut feeling (please enlighten me if wrong) that a UI like this is beyond NR thus I have begun to create a straight HTTP (express) web site that will do this part instead.

So, I have a nice dashboard in NR, and soon a nice web site for editing the more complex underlying data.

I'd like to add the web site to the dashboard as a "link" tab. However, because the site runs on the same server as NR, it is required to have a different port number. HTTP does not support links that are relative to the same server with a differing port, e.g. this doesn't ever work: 'http://:3000/index.html'. So, I need to use JavaScript to build the link, perhaps as:  
'http://' + window.location.host + ':3000/'  
However, it looks like the link field is just "dead" text with no dynamic capability.

My questions: how can I display my site as a tab in the dash? Can NR handle CRUD UI cleanly with half-a-dozen different tables?
