# Connect BtcPay Server with Umbrel on separate Servers

**URL:** <https://community.umbrel.com/t/connect-btcpay-server-with-umbrel-on-separate-servers/16214>\
**Category:** General Discussion\
**Created:** [April 10, 2024, 1:20pm UTC](https://community.umbrel.com/t/connect-btcpay-server-with-umbrel-on-separate-servers/16214 "2024-04-10T13:20:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafauell](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@rafauell](https://community.umbrel.com/u/rafauell)\
**Post date:** [April 10, 2024, 1:20pm UTC](https://community.umbrel.com/t/connect-btcpay-server-with-umbrel-on-separate-servers/16214/1 "2024-04-10T13:20:02Z")

</div>

Hello everything is fine?

I’m having problems connecting my light wallet to the BTCPAY system

I have two servers on AWS

1 - with umbrella installed  
2 - with CtcPay Server Installed

Each machine running a system individually.

Both are pointing the IP to my domain

umbrel.mydomain.com.br  
btcpay.mydomain.com.br

My domain server already has an SSL, that is, all traffic that enters my domain will be able to use HTTPS

* * *

## First, I installed BtcPay Server on my ec2

1. Connect to the server via SSH.

2. Become superuser:

3. Update system packages:

4. Install Docker:

5. Set environment variables for the BTCPay Server:

6. Create a directory for the BTCPay Server:

7. Start and enable Docker:

8. Install Docker Compose:

9. Clone the btcpayserver-docker repository in the created directory:

10. Set additional environment variables required for configuration:

11. Start the BTCPay Server configuration script:

These were the commands I used to install the system on my EC2

* * *

## First, I installed BtcPay Server on my ec2

Then I ran it on another ec2, Umbrel. I installed Node Bitcoin, Node Light and waited for synchronization.

**First question!**

Umbrel doesn’t load when I put HTTPS in the url, even though my domain allows HTTPS. It only opens with HTTP.

**Second question!**

When I connect the BTCPAY SERVER with Umbrel, I do the following:

Go to the side menu, access the page \> Lightning node then \> Connect to a Lightning node

Remember that when installing BTCPAY I chose LND because it is native to Umbrel, right?

```
 export BTCPAYGEN_LIGHTNING="lnd"

```

 ![Captura de tela 2024-04-10 1010172](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/4/4f42caa7d4032990a57e0b93a69f823f341165f4.png)

* * *

**The problem I face is:**  
My Node on Umbrel is only being accessed via HTTP and BTCPAY requires the connection to be https as shown in the image above

```
 type=lnd-rest;server=https://mylnd:8080/;macaroon=abef263adfe...

```

When I put mylnd (TOR address or any other address, it always starts with numeto and not http)

Where and how can I get this address as required by btcpay?

 ![Captura de tela 2024-04-10 1019163](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/3/3ef49b2a2149a84066703d47edcfff146c79dfc8.png)
