redirecting to

So you have a web server and one/some domain names. You want to have all requests to to go to most companies have this redirect in place (Apple is an example). I was stumped when I first set out to do this…so here is what I learned from our friends on the Apache mailing list.

Redirect permanent /

ServerAdmin [email protected]
DocumentRoot /Volumes/www/

This set up in Apache will then redirect all requests to
You cannot beat mailing lists’ support!
[tags]apache, vhosts, redirect[/tags]

serving apache on a local (not address).

If you ever need to serve a web site for, let’s say a presentation, on a local address and need to connect to another computer…perhaps your database/ Web Objects server locally as well, and you are running Mac OS X…then I have some information for you.

  1. If you want to serve the web site on and have your other server on, open the terminal and type in: sudo ifconfig en0 This will change the IP address. (changing the IP address in the network control panel was not enough)
  2. Next, edit the apache conf file: sudo pico /etc/httpd/httpd.conf and add Listen and then restart apache

Now you can serve on your local machine and connect to a computer on your local network. (connected by an ethernet cable)

Apache Support

After spending the weekend with my parents, proud new owners of a G4 14″ iBook, I realized why I get paid the big bucks for administering computers/servers. The biggest contribution to my wealth: I read manuals. I also frequent application specific support web sites, and I sign up for listervs. I have been working with Apache for four years and have been able to learn a lot about it through all of the usual support mechanisms, but Apache also offers something great for problems that cannot wait: an irc channel with some of the best and brightest Apache developers and users.

I have been in a jam with some SSL problems that needed to be solved within one business day and I would not have been able to do it without the help from the experts at the #apache channel on

So if you ever need some Apache help, or have time to help others, jump on the #apache channel!