Reputation: 399
Hello I have installed a minimal centos 6 web server on a VM with only httpd,mysql, php, ftp,DNS, and some other needed components, everything seems to be working fine, my problem is apache's name based virtual host or DNS?, I can access my testwebsite.com on the host machine and other computers connected to the LAN but I need to type the IP address and serverName on the "hosts" file on every computer before they can access it, how do I access my testwebsite.com through LAN without typing additionals on the "hosts" files, please help, thanks in advance
Upvotes: 0
Views: 671
Reputation: 3236
The only way I can possibly think of achieving this is by changing settings with in the local router(s).
EDIT: You will have to look at the manual for the particular router you are working with. Firstly try to login to the router settings page using your browser and looking for the appropriate settings.
If that doesnt work I would probably try to root the router itself and modify the /etc/hosts file
Upvotes: 1