Link to home
Start Free TrialLog in
Avatar of burnedfaceless
burnedfaceless

asked on

Configuring name service for intranet sites

I have two servers right now that are set up on my local network.

I know using Apache on Ubuntu that I edit the /etc/hosts file to create hosts (i.e. phppatternsobjectsandpractice.local) - set it to 127.0.0.1, and I can visit it on my local computer.

I want to host intranet site on one of my servers, and allow people who are connected to my network to type in a site (phppatternsobjectsandpractice.localhost) and visit the site.

Do I edit the /etc/hosts file or do I set up Bind on my two servers?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Brandon Dube
Brandon Dube
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of burnedfaceless
burnedfaceless

ASKER

Cool.

I read something that said I didn't need a DNS server, so I got confused.

Thanks man.