Question: how to make ubuntu server a domain controller?
Answer: Network configuration. Configure networking. Update system and install required packages. Run the samba AD setup. Test the configuration. Configure samba AD to start with systemd. Join a computer to the domain. Create a user account.