I'm thinking of changing my web server so that Apache (and all of django web apps) run inside of a jail rather then on my host machine. I want to make this change for two reasons, the first and primary reason is to learn more about jails and how they work. The secondary concern is security and sand boxing my current web server.
With that said, I was wondering what steps are required to move a working Apache instance on a host machine into a jail?
I have a zfs partition set up with a jails folder with a www jail. in the www jail I've installed apache and migrated all of my config files. How do I have to change my config files so that they'll listen to packets passed by the host machine and how do I set up my host machine so that it forwards those packets to my www jail?
UPDATE: So I've read the jails section of the handbook and I've set up a rc.conf and the jail. I guess what I'm really asking is do I need to change any of my apache configs? Can I use the same IP address for the jail as the host machine? If I can, may I just leave my apache configs unchanged?