You need to run dcpromo and tell it to make a secondary domain controller in an existing domain. Once it's all done it will reboot the machine and then you can use your domain login.
Since Active Directory is a core feature of Windows Server, we can install it from the Server Manager. So, to install Active Directory, follow the steps mentioned below. After installing the role, you ...