19 Oct 2024 |
Rayan Nakib (ريان نقيب) | * In this ☝️ video, The youtuber did it using nginx proxy manger, And without adding any TXT records. | 15:49:16 |
K900 | They're using Cloudflare for DNS | 15:51:02 |
K900 | Not DuckDNS | 15:51:07 |
Rayan Nakib (ريان نقيب) | no, they used DuckDNS | 15:51:26 |
Rayan Nakib (ريان نقيب) | I also own a domain that I manage using cloudflare, could i use it for my homelab and my website at the same time? | 15:51:50 |
K900 | Yes | 15:51:54 |
K900 | They used DuckDNS, and then used Cloudflare to provide a CNAME | 15:52:03 |
K900 | And get a certificate for that | 15:52:07 |
Rayan Nakib (ريان نقيب) | Can you help me, because I don't have experience with this kind of things.
so, I will create:
A record -> homelab -> 192.168.1.6
CNAME record -> *.homelab -> 192.168.1.6 | 15:53:50 |
Rayan Nakib (ريان نقيب) | is this correct? | 15:53:53 |
K900 | Do you literally want your domain name to be homelab ? | 15:54:39 |
Rayan Nakib (ريان نقيب) | no | 15:54:46 |
Rayan Nakib (ريان نقيب) | homelab.nakibrayan.com | 15:54:50 |
K900 | If you have a public domain, I would generally recommend just setting up your resources as subdomains of that | 15:54:56 |
K900 | And then you can use normal ACME stuff with a DNS challenge, even without a wildcard | 15:55:12 |
Rayan Nakib (ريان نقيب) | I want my nextcloud instance to be under, nextcloud.homelab.nakibrayan.com, is this setup possible? | 15:55:57 |
Rayan Nakib (ريان نقيب) | only in my lan | 15:56:06 |
K900 | Yes | 15:56:10 |
Rayan Nakib (ريان نقيب) | how? | 15:56:25 |
K900 | You can set up your LAN's DNS server to resolve that | 15:56:27 |
Rayan Nakib (ريان نقيب) | I use mullvad DNS in my PCs and Phones | 15:57:20 |
Rayan Nakib (ريان نقيب) | I can't set a local dns record | 15:57:32 |
K900 | Then you can set it to resolve to whatever internal address you want it to be on Cloudflare | 15:57:57 |
K900 | It will be resolvable publiclyw | 15:58:03 |
K900 | * It will be resolvable publicly | 15:58:04 |
K900 | But it will resolve to 192.168.1.6 or whatever | 15:58:15 |
Rayan Nakib (ريان نقيب) | I made that before, I added an A record in cloudflare dns that points to 192.168.1.6, but in all my browsers and devices said that the cert is not trusted, why is that? | 16:00:01 |
Rayan Nakib (ريان نقيب) | * I made that before, I added an A record in cloudflare dns that points to 192.168.1.6, but all my browsers and devices said that the cert is not trusted, why is that? | 16:00:31 |
K900 | Presumably because the cert was for the wrong domain name | 16:00:40 |
K900 | Or self-signed | 16:00:42 |