This video shows you how to join a Windows server (2012/2016/2019) to an Active Directory domain. https://rdr-it.com/en/howto/windows-server-join-an-active-directory-domain/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.