I am using domain aliases on a Linux machine for development. Is there a way to specify all machines on a LAN can find such a domain?
I can find sites from my Windows PC by entering the Linux machine's IP address in the address bar of My browser. But aliases provide a better way of defining the top level root directory of a site to more closely mimic the site as deployed on a production server.
I would like to be able to enter a uri in a browser on either my Windows or Linux machine and have it open the site defined/hosted on the Linux machine.
Thanks for reading this and have a great day.
[edited by: bill at 7:12 am (utc) on Oct 28, 2012] [edit reason] formatting [/edit]
But aliases provide a better way of defining the top level root directory of a site to more closely mimic the site as deployed on a production server.
DO you mean you want it to be on exactly the same domain as the production server would be on? Either edit the hosts file, or run a local DNS server.
If you just want to use some sort of domain names, Linux usually supports multicast DNS of of the box (domain names are [computername].local). AFAIK the usual solutions for Windows is Apple's "Bonjour for Windows"