0

I am running a CentOS PXE/webserver and would like to use a domain name such as fresh.srv instead of typing in the IP address to access the website on a client computer. Is this possible with out running a local DNS server? Thank you!

cw4
  • 1

1 Answers1

1

Yes, use the hosts file.

Edit /etc/hostson the client, and add a line like:

192.168.10.10 fresh.srv

...of course replacing that IP address with the IP of your server.

EEAA
  • 109,363
  • 18
  • 175
  • 245