Don't know what to do for nameserver

Hello @dmom and welcome to the community.

But that set of instructions is for Webmin. Are you using only Webmin or are you using Virtualmin?

For Virtualmin, the official download and install documentation is at Automated Virtualmin Installation – Virtualmin

Additionally, if you read this, you will have a smooth takeoff with Virtualmin - Primary nameserver is not valid - #4 by calport