Question: how to configure domain controller in ubuntu server?
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.