Currently I'm running a few servers at my home and I own a domain. I'd like to access those servers from outside my network (right now that happens through a VPN) but I don't know anything about A records and MX records and as I understand, that's what's needed to do this. So would there be a tutorial that explains this like I'm 5 years old?
So if I want to go to www.mydomain.com/pihole to go to my pi-hole instance, I would create an A record containing the internal IP of pi-hole and an MX one to configure the subdomain (www.mydomain.com/pihole), is that correct?