# Domain pointing to online hosted node-red

**URL:** <https://discourse.nodered.org/t/domain-pointing-to-online-hosted-node-red/31651>\
**Category:** Dashboard\
**Created:** [17 August 2020 08:52 UTC](https://discourse.nodered.org/t/domain-pointing-to-online-hosted-node-red/31651 "2020-08-17T08:52:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCLeuvennink](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@JCLeuvennink](https://discourse.nodered.org/u/JCLeuvennink)\
**Post date:** [17 August 2020 08:52 UTC](https://discourse.nodered.org/t/domain-pointing-to-online-hosted-node-red/31651/1 "2020-08-17T08:52:02Z")

</div>

I am working on a project where I want to host an online node-red dashboard that is accessible through a domain on the internet.

I have an oracle cloud VM, have installed node-red, generated an SSL certificate for it using a domain name that I bought, but here is the problem:

At the moment I can access the editor by typing in `https://domain.com:1880` and the dashboard by typing in `https://domain.com:1880/ui`. I would like to be routed directly to the dashboard when I type in `domain.com` only, without the port number.

In order to generate the certificate I created an A-record in the DNS settings of my domain to route all traffic to the IP of my VM. I tried setting up forwarding so that I can forward traffic to the URL with the port number, but that changed my A-Record and thus my certificate was no longer working.

Can someone please provide me with an alternative method to access the dashboard by simply typing in `domain.com`? also if I can in some way set it up that `admin.domain.com` takes me directly to the editor, that would also be nice. I am new to web hosting in general so please forgive my ignorance.

---

<div class="post-metadata">

**Author:** ![harelabb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harelabb/32/27450_2.png) [@harelabb](https://discourse.nodered.org/u/harelabb)\
**Post date:** [19 August 2020 19:33 UTC](https://discourse.nodered.org/t/domain-pointing-to-online-hosted-node-red/31651/2 "2020-08-19T19:33:53Z")

</div>

I use proxysever in Apache and have registered a www forwarding entry at my dns provider, which acts like a sub-domain. So when I point to [sub.mydomain.com](http://sub.mydomain.com), [mydomain.com](http://mydomain.com):portno is reached.  
I use this for some other port than NR, though.

---

<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:** [18 September 2020 19:34 UTC](https://discourse.nodered.org/t/domain-pointing-to-online-hosted-node-red/31651/3 "2020-09-18T19:34:04Z")

</div>

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