UPDATE: The below can now be completed using ‘Server.app’ & as such i’d not advise you perform redirects this way. If you have performed the redirects as directed below, you may have an error which has a resolution mentioned here.
With the move to Lion Server, Apple stripped moved administering the Web service from the new Server.app.
This over-simplification has caused me some head scratching as many of the options I’d become familiar with had been replaced with little more than an On/Off switch.
But don’t fret! It turns out that these options still exist, it’s just you need to hunt for them.
Virtual hosts are best explained in the opening paragraph here. To enable this on Lion Server do the following
- In Terminal type:
- Uncomment out (remove the # at the start) of the line that reads:
- Press “CTRL + X”
- Press “Y”
- Press Enter
- Restart the Web service from with Server .app (flick the switch).
- …errr that’s it.