-
Set up a production/testing server at home
Hi,
I’m trying to set up a dedicated computer to act as a production web server to test sites I’m building at home.
I have set up a mac running OS X and created Virtual Hosts for each site I’m working on successfully on a single machine. For example, if the actual site is “www.somesite.com” I can enter the address “www.somesite.dev” and have it load the local version in my browser.
What I’d like to do is be able to access the sites on my local testing server from other computers on my network. Essentially, have a local web server that serves the sites in production. The question is how do I get the browser (on a different local computer) to point to the actual internet site for “somesite.com” and the production server’s verion with “somesite.dev” (or whatever I do to differentiate it).
Is this clear? Is this possible? Some local DNS trickery?
Any help would be appreciated. HTML/CSS, no problem. Unix, Apache, PHP… just a bit, more every day.
Thanks!
Phil