# How to create a Lightning Node Alias?

**URL:** <https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252>\
**Category:** General Discussion\
**Created:** [June 2, 2021, 9:47pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252 "2021-06-02T21:47:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Licks](https://avatars.discourse-cdn.com/v4/letter/l/58f4c7/32.png) [@Licks](https://community.umbrel.com/u/Licks)\
**Post date:** [June 2, 2021, 9:47pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/1 "2021-06-02T21:47:35Z")

</div>

Can someone advise how I can set my lightning node alias? I have tried it a few ways but get an error each time.

Thanks!

---

<div class="post-metadata">

**Author:** ![Deekee](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/deekee/32/572_2.png) [@Deekee](https://community.umbrel.com/u/Deekee)\
**Post date:** [June 3, 2021, 7:35am UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/2 "2021-06-03T07:35:04Z")

</div>

**Moderator Edit: These steps are now obsolete in the new version, to summarize lnd.conf is used for non-UI settings and you can now change your alias directly from the UI in Lightning Node advanced settings! You may reference “Updating Your Lightning Node’s Alias” in our [Official FAQ guide here](http://community.umbrel.com/t/official-umbrel-troubleshooting-guide-and-faq/9873)**  
**(as a note this is also different than the Umbrel dashboard username, changing this is also listed within the guide!)**

* * *

Want to set an alias for your [Umbrel](https://lightningwiki.net/index.php/Umbrel) Node?

Follow these steps:

1. Log in to your node [using SSH](https://www.howtogeek.com/311287/how-to-connect-to-an-ssh-server-from-windows-macos-or-linux/). Usually this means opening a terminal and typing **ssh -t umbrel@umbrel.local**. The user is **umbrel**. Default password is **moneyprintergobrrr** for older versions of Umbrel. New versions use the dashboard passord. When typing your password you usually see nothing (for safety).

2. (Optional) change your default password by typing **passwd**

3. Open the config file **sudo nano umbrel/app-data/lightning/data/lnd/lnd.conf**. lnd is small for LND, there are no i’s. It will ask you again for your password (same as before), and you will again not see you entering the password.

4. You are now in the editor. Add **alias=SOMENAME**. This must be added to the first paragraph. Somewhere below the block **[Application Options]**, not in a different block.

5. (Optional) set **color=#ff0000** or any other hex color, on a new line, just below alias. [find a nice color](https://www.color-hex.com/).

6. You will see the commands you can give at the bottom. The caret **^** means CTRL button. **^X** is eXit, so use CTRL-X to exit the file. Confirm you want to save the buffer using Y. Press enter for file name (don’t change).

7. After you have exited the editor, type **cat umbrel/app-data/lightning/data/lnd/lnd/lnd.conf** to look at the content of the file.

8. Then restart your Umbrel node. You can do this properly from the Umbrel web interface (Settings, Restart)

9. IF you have public channels, it will take (max) 2 days for the new node to become visible on [1ml.com](https://1ml.com/).

10. If you have [RTL](https://lightningwiki.net/index.php/RTL) installed you should see the new node name after a restart of RTL, or after logging in again. A node clean restart (using the web interface) should also restart RTL.

If your terminal freezes you may have pressed CTRL-S. Unfreeze by CTRL-Q.

Have fun 🙂

---

<div class="post-metadata">

**Author:** ![Licks](https://avatars.discourse-cdn.com/v4/letter/l/58f4c7/32.png) [@Licks](https://community.umbrel.com/u/Licks)\
**Post date:** [June 3, 2021, 3:01pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/3 "2021-06-03T15:01:02Z")

</div>

> [@Deekee](#):
>
> ssh -t umbrel@umbrel.local

Thanks! I have tried this before but I get an error saying POSSIBLE DNS SPOOFING DETECTED!

Any advise as to what this is?

---

<div class="post-metadata">

**Author:** ![Licks](https://avatars.discourse-cdn.com/v4/letter/l/58f4c7/32.png) [@Licks](https://community.umbrel.com/u/Licks)\
**Post date:** [June 3, 2021, 3:59pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/4 "2021-06-03T15:59:02Z")

</div>

> [@Deekee](#):
>
> **sudo nano umbrel/lnd/lnd.conf**

I was able to figure it out! Had to delete the host file  
Thanks!

---

<div class="post-metadata">

**Author:** ![dtarver](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/dtarver/32/3522_2.png) [@dtarver](https://community.umbrel.com/u/dtarver)\
**Post date:** [August 15, 2021, 10:54pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/5 "2021-08-15T22:54:55Z")

</div>

THANK YOU so much! Worked perfect to me.

---

<div class="post-metadata">

**Author:** ![RustyPelican](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/rustypelican/32/1010_2.png) [@RustyPelican](https://community.umbrel.com/u/RustyPelican)\
**Post date:** [August 26, 2021, 2:29pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/6 "2021-08-26T14:29:33Z")

</div>

Perfect instructions. Thank you very much!

---

<div class="post-metadata">

**Author:** ![BeastNode](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@BeastNode](https://community.umbrel.com/u/BeastNode)\
**Post date:** [September 6, 2021, 10:59pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/7 "2021-09-06T22:59:37Z")

</div>

Thanks, sounds fun. Is this sort of like a vanity plate for your car? What are the cons to creating an alias? Thanks!

---

<div class="post-metadata">

**Author:** ![FlensMan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/flensman/32/754_2.png) [@FlensMan](https://community.umbrel.com/u/FlensMan)\
**Post date:** [September 11, 2021, 12:13pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/8 "2021-09-11T12:13:48Z")

</div>

Thank you - is the alias persistent across Umbrel updates?

---

<div class="post-metadata">

**Author:** ![Deekee](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/deekee/32/572_2.png) [@Deekee](https://community.umbrel.com/u/Deekee)\
**Post date:** [September 11, 2021, 1:50pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/9 "2021-09-11T13:50:12Z")

</div>

Yes, since the latest Umbrel version lnd.conf is not overwritten anymore.

---

<div class="post-metadata">

**Author:** ![Buent09](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/buent09/32/929_2.png) [@Buent09](https://community.umbrel.com/u/Buent09)\
**Post date:** [September 12, 2021, 2:59pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/10 "2021-09-12T14:59:19Z")

</div>

Done like you described, but now my btc wallet and lightning wallet wont show up! What did i wrong?😅

---

<div class="post-metadata">

**Author:** ![Deekee](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/deekee/32/572_2.png) [@Deekee](https://community.umbrel.com/u/Deekee)\
**Post date:** [September 12, 2021, 3:13pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/11 "2021-09-12T15:13:39Z")

</div>

Check carefully that your node name is not to long (32 characters) and that there are not extra spaces. After you applied changes, just restart LND using the following command:

docker-compose restart lnd

---

<div class="post-metadata">

**Author:** ![Buent09](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/buent09/32/929_2.png) [@Buent09](https://community.umbrel.com/u/Buent09)\
**Post date:** [September 12, 2021, 3:23pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/12 "2021-09-12T15:23:43Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/f/fbc64692c709c437b1cacb96eadcc403b4660998.jpeg)

The name is not to long it’s: Buent09  
i also did change the color

---

<div class="post-metadata">

**Author:** ![Buent09](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/buent09/32/929_2.png) [@Buent09](https://community.umbrel.com/u/Buent09)\
**Post date:** [September 12, 2021, 3:25pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/13 "2021-09-12T15:25:38Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/0/09f262f8753f30472f072fc085f4f509623d3f9e.jpeg)

did it like shown here

do i have to tipe it under feeurl, or is this not relevant?

---

<div class="post-metadata">

**Author:** ![Deekee](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/deekee/32/572_2.png) [@Deekee](https://community.umbrel.com/u/Deekee)\
**Post date:** [September 12, 2021, 3:32pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/14 "2021-09-12T15:32:50Z")

</div>

cd to your umbrel directory first!

cd ~/umbrel  
docker-compose restart lnd

---

<div class="post-metadata">

**Author:** ![Buent09](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/buent09/32/929_2.png) [@Buent09](https://community.umbrel.com/u/Buent09)\
**Post date:** [September 12, 2021, 3:34pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/15 "2021-09-12T15:34:25Z")

</div>

ok thanks, now it’s restarting

i think this didn’t worked, restarted it 2 times, any ideas?

---

<div class="post-metadata">

**Author:** ![Deekee](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/deekee/32/572_2.png) [@Deekee](https://community.umbrel.com/u/Deekee)\
**Post date:** [September 12, 2021, 4:03pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/16 "2021-09-12T16:03:45Z")

</div>

Restore your backup of lnd.conf and restart LND again, to see if it works without your changes!

---

<div class="post-metadata">

**Author:** ![Buent09](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/buent09/32/929_2.png) [@Buent09](https://community.umbrel.com/u/Buent09)\
**Post date:** [September 12, 2021, 6:23pm UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/17 "2021-09-12T18:23:16Z")

</div>

now it worked, thanks for your help! 🧡🙏

---

<div class="post-metadata">

**Author:** ![ajo](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@ajo](https://community.umbrel.com/u/ajo)\
**Post date:** [September 17, 2021, 8:18am UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/18 "2021-09-17T08:18:06Z")

</div>

So I was able to set the alias following the above instrcutions. But how do you set an alias that includes a blank space or a symbol? Could someone please share an instruction on how to set the following example?

Ride the Lightning ⚡

---

<div class="post-metadata">

**Author:** ![alterhodl](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@alterhodl](https://community.umbrel.com/u/alterhodl)\
**Post date:** [September 28, 2021, 4:40am UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/19 "2021-09-28T04:40:29Z")

</div>

> [@Deekee](#):
>
> docker-compose restart lnd

Hi, I made the changes and everything seemed to go well, but now I’m getting an error on RTL after restarting. I’ve added alias on first line (it includes lowercase and uppercase and an underscore instead of space) and changed color.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/6/6a9b2f2bb4e8c2b4a7c9a3da91ab1b8a91a09765.png)

Any idea on how to fix this?

---

<div class="post-metadata">

**Author:** ![alterhodl](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@alterhodl](https://community.umbrel.com/u/alterhodl)\
**Post date:** [September 28, 2021, 5:10am UTC](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252/20 "2021-09-28T05:10:50Z")

</div>

> [@Deekee](#):
>
> docker-compose restart lnd

how to restore lnd.conf ?  
Thanks

[Next page](https://community.umbrel.com/t/how-to-create-a-lightning-node-alias/1252.md?page=2)
