At first it may seem like a nightmare to setup a Domain without any GUI. But any linux user don’t really care. The main reason you would use server core is for security. Without GUI, there are less installed apps, which reduces attack vectors for hackers. It’s also worth noting that your server will use less physical resources which can be something useful in a business.
The first steps are to configure a static IP address, timezone and rename our machine. We will use PowerShell in this tutorial.
Now to setup a static IP address we first need to identify our NIC
Next we will configure the DNS for the server
When the server has rebooted, open
powershell again. We will then install ADDS server role.
Next step is to promote this server as a domain controller
Once rebooted, open
powershell again. We will now install the DHCP feature.
Now Restart the DHCP server.
Next step is to add the DHCP to the domain controller.
Now we are going to create our DHCP pool also know as scope. First we define the IP range and the subnet mask
Next we configure the DNS and the router(gateway) addresses and the pool lease duration.
At this point our server should be functional. We can open up a client machine on the same network to confirm DHCP works and as a little extra, install RSAT to remotely manage this server.
First we need a client machine which has internet access. On this client machine, download the Remote Server Admin tools from Microsoft and install it.
Once RSAT is installed. Shut down this client VM and setup the Network to be in the same VMNet as the server.
Now, we will add this client machine to our domain
Once the client machine has rebooted, we can see the domain connection was successful, now you can connect as your server admin account as you would on a normal Windows Server using this client machine to connect remotely
Every commands on this tutorial was provided by Microsoft official documentation. You can check it out here : https://docs.microsoft.com/en-us/powershell/module/nettcpip/set-netipinterface?view=windowsserver2019-ps