Search

Friday, July 8, 2011

Ubuntu 11.04 - 03. Virtual Servers on Apache

Edit file host

Open /etc/host . Since file hosts is owned by root-like user, we need to use sudo.

# sudo hosts

Activate virtual host configuration in apache

To configure apache webserver VirtualHost in Ubuntu server is different from other linux OS like fedora/redhat/centos. In Ubuntu apache2 have separated the virtual host into sites-available and sited-enabled directory.


source : http://www.wowtutorial.org/tutorial/24.html

Edit virtual host conf


restart apache


test

No comments:

Post a Comment