I am trying to setup an Ubuntu 14.04 server on a windows network. The server has a static IP address assigned to it. I need to be able to register the hostname (argo) of the server with AD domain controller so that users of the windows workstations can type in http://argo in their address bar and arrive at the website hosted on argo. The server is working and if I type the IP address of the server I can access the website on it from any of the workstations.
The information I have is:
- The webserver's (argo's) IP address
- The netmask
- The default gateway
- The IP address for the Windows AD domain controller (The DNS server address) which is also the WINS address.
- The DNS suffix (is this considered the DNS domain name?)
I think I have /etc/hosts configured properly but I'm unsure of what exactly needs to be put in /etc/network/interfaces (since Ubuntu overwrite resolv.conf).
I'm also unsure of which Samba commands need to be run. When I tried to run the command net ads dns register -P I got an ads_connect: No logon servers error.
So, given this situation, how do I register argo with the AD domain controller?