I have a couple computers I do development on along with a server (Leopard Server) at home. What I would like to do is host my development sites on the server and be able to access them via a development URL. Now I know how to do this locally with Virtual Hosts and editing the hosts config file just fine. Where I'm stumbling is I entered the IP of the server in hosts.config on one of the machines and the URL I'd like to use, but when I access that URL it gets directed to the main site on the server and not the one I created. How can I get Leopard Server to translate the mysite.dev request to the proper hosted site?
hosts config:
192.168.1.10 mysite.dev
Thanks.
PS - I tried redirecting by messing with my router but couldn't figure that bit out. It would be nice to do it that way because I would just have to add a new entry in the router and then every computer would automatically be redirected than having to edit each machines' hosts config file separately.
hosts config:
192.168.1.10 mysite.dev
Thanks.
PS - I tried redirecting by messing with my router but couldn't figure that bit out. It would be nice to do it that way because I would just have to add a new entry in the router and then every computer would automatically be redirected than having to edit each machines' hosts config file separately.