UPDATE: With the release of 10.7.3, you can now do this via “Server.app”, so i’d advise against the below method. If you have used the below & upgraded to 10.7.3 & have an error in “Server.app” when managing the web service, click here.
Port redirection is (simply put), where an end user enters: http://mygreatwebsite.com & they are redirected to http://mygreatwebsite.com:(someport).
On Snow Leopard server you could easily set port redirects from within the Server Admin.app, but in Lion server this has all been changed.
The basics of how to enable virtual hosts on Lion server, is covered in this post. As well as links to the more advanced options.
Once Virtual Hosts have been enabled, editing /private/etc/apache2/extra/httpd-vhosts.conf enable the redirects. Continue reading