-1

i created an intranet (lamp) and now i have to make it visible using this url intranet:

the solution i found was to put in each computers (mac, windows) this in the hosts file using the ip 192.168.1.100 and the alias intranet

the intranet has a static ip

i dont want to change all of themsince i have 50+ computers. is there an easy way to make all the computers use http//intranet instead of http//192.168.1.100

DanBig
  • 11,423
  • 1
  • 29
  • 53
Pat R Ellery
  • 11
  • 11

1 Answers1

4

This is exactly why DNS was invented. Set up a DNS server. If you already have one, make use of it.

John
  • 9,070
  • 1
  • 29
  • 34