این کل عملیات هایی که من انجام دادم به جای example.com هم از ali.irani استفاده کردم:
ali@xerror:~$ sudo nano /etc/apache2/sites-available/local.ali.irani
ali@xerror:~$ cd ../sites-enabled/
bash: cd: ../sites-enabled/: No such file or directory
ali@xerror:~$ sudo ln -s ../sites-available/local.example.com
ln: creating symbolic link `./local.example.com' to `../sites-available/local.example.com': File exists
ali@xerror:~$ sudo nano /etc/hosts
ali@xerror:~$ mkdir /home/ali/www/ali.irani
ali@xerror:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 grep: /etc/apache2/sites-enabled/local.example.com: No such file or directory
apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/local.example.com: No such file or directory