问题原文
原帖链接 · undefined · CC BY-SA 3.0
I want to setup a GIT server on my Ubuntu machine in the office but I want a domain name for it that I can connect to from Windows machines on the same network. I've read about using Samba or adding the machine to Active Directory but I'm a bit lost with both. All machines are on the same a.b.com domain.
I have modified my hosts file on the Ubuntu machine to show the following: 127.0.0.1 ubuntu 127.0.1.1 ubuntu.a.b.com ubuntu 192.168.0.9 ubuntu.a.b.com ubuntu
I have admin credentials to the domain controllers and Active Directory. What can I do to enable other Windows machines to access the Ubuntu machine for something like SSH or a GIT server via a domain name rather than the machines IP address?
已采纳解答
原帖链接 · Sam K · CC BY-SA 3.0
You need to add a static entry on your DNS server for that machine. Just add an A record for that machine and the 'subdomain' name you want to give it under Forward Lookup Zones and your appropriate domain name.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
