Proxmox is a hypervisor, not a all-in-one-hosting-platform. DNS is done in a DNS server, not in Proxmox directly (there is no dns server in proxmox), so you need to set up your own dns server.
If this is a SOHO solution, then add the machine in your router. There is probably an interface for that.