

Hosting websites on my local machine during development is a must. One OS X feature I make much use of is the integrated Apache server. Compared to Windows-based machines, Mac's OS X operating system is light years better.

# CustomLog logs/ someone who had always developed on PCs, switching over to using Mac OS X was like going from peasant to prince. # ServerAdmin DocumentRoot /# ServerName # The first VirtualHost section is used for requests without a known # Almost any Apache directive may go into a VirtualHost container. Do not change this entry.ġ27.0.0.1đ27.0.0.1 step 2 edit your `/etc/httpd/nf` file like this: # localhost is used to configure the loopback interface # unless you have changed lookupd's configuration. # lookupd gets information from NetInfo, so this file will not be consulted At other times this information is handled by lookupd.

# Note that this file is consulted when the system is running in single-user Step 1 edit your `/etc/hosts` file like this: I'm sure a lot of dialup users could benefit from having a similar setup on their desktop as their IP. I would like to imitate my hosted IP site setup: This is all no-cash (free beer and dinner funding from my friend) work that I do for my friend but I also would like to have my own site cleanly setup, will the above HINT workf for me?Īnd while I'm here. I want to organize the WebServer directory so that I can work on my friends site and my own. Which brings me to another question I've been tying to figure out. or My browser likes to hang since it can't find the correct location.Īnd, is this ok? /Library/Webserver/in Netinfo Manager I have:

OK, I was hoping that this setup would allow me to work on development sites without actually dialling up to the net.
