PCHomepage
Programmer
On Windows 8.1 running Apache2, my hosts has something like:
. . . and I load site1.dev into the URL area of the browser to see the site. With the PC running Apache hard-coded to a specific IP address, what do I need to change here in order to see the development sites on any device on the network? I am using the httpd-vhosts.conf setup so this is the only place where the localhost and IP is used. I was thinking that I just needed to change it to the PC's static IP but then I'm not sure what to do with "localhost" as it doesn't seem proper to leave it that way.
Code:
127.0.0.1 localhost
#::1 localhost
127.0.0.1 site1.dev
127.0.0.1 site2.dev
127.0.0.1 site3.dev
. . . and I load site1.dev into the URL area of the browser to see the site. With the PC running Apache hard-coded to a specific IP address, what do I need to change here in order to see the development sites on any device on the network? I am using the httpd-vhosts.conf setup so this is the only place where the localhost and IP is used. I was thinking that I just needed to change it to the PC's static IP but then I'm not sure what to do with "localhost" as it doesn't seem proper to leave it that way.