I have been messing around with a Raspberry Pi 4 with the goal of learning how to self host. I’m learning a lot but dynamic IP and DNS is tripping me up. It may be that what I want to do isn’t possible so I thought I’d ask the smart people here.
I would like to host Nextcloud, maybe try my hand at a matrix .org synapse server or a just a yuno host server etc. I have a domain with Namecheap, and a WordPress site on bluehost that uses that base domain. I would like to use sub-domains (I think that’s what they’re called ie. nextcloud.mydomain .com, matrix.mydomain .com) to access those self hosted instances on my Pi.
I’m not exactly sure of the steps/concepts to make that happen. I have a dynamic IP so I need to set up some dynamic DNS to track that I assume. Maybe set something up in Namecheap to direct to sub domains? Do I need to do port forwarding?
I can find information on individual sections of this problem but I’m having a difficult time stringing them all together for my use case. Anyone have any guides or pointers that could be provided? Any help is appreciated.Thank you