Discourse Server logs show DB queries when I run the server

You have to have a public ip for the virtual machine and create an A record that points to it.

If you want help, you’ll need to say what you did and what error you got. With dns issues you can get better help if you share the host name.