Port based Virtual Hosting in Apache2 (Ubuntu 9.04)
Posted in How To on Sep 27th, 2009
In port based virtual hosting, different websites run on different ports. In this is example, we will be running website on port 81 of development server. Not much useful for production server, still I find this useful for development server.
folder structure
————————-
In $home directory, create the folders from where the files will be server.
webapps
–djangoapp
—-index.html
—-log
——error.log
——access.log
cd /etc/apache2/sites-available
sudo vi [...]