Hello everyone.

I bought domain name (example.com) from https://njal.la/ and I want to direct it to my server but I need help with it.

Let’s say that I have public and static home IPv4 address 10.172.172.172 (example) and on that address is a computer running on 192.168.200.101 (example) and there is jellyfin server (port 1020/tcp), immich server(port 1021/tcp) and bitwarden server (port 1022/tcp).

My question is can I create a subdomain and point it to these servers?

Like; jellyfin.example.com -> 192.168.200.101:1020

immich.example.com -> 192.168.200.101:1021

bitwarden.example.com -> 192.168.200.101:1022

Or do I have to buy two more separate domains for these servers? Like example2.com and example3.com?

Sorry for english and also if this is a stupid question but I need to know. I have never so far used domains and never dabbled in dns setting and I don’t know where to search for info.

  • Moonrise2473
    link
    fedilink
    English
    arrow-up
    4
    ·
    24 hours ago

    Set the A record to your IP address and CNAME to @ to all the subdomains you need

    • Octavusss@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      3
      ·
      24 hours ago

      Would it be okay to contact you via signal/simplex or any messaging app for help if I’ll have more very specific questions?