Перейдите в sudo vim / etc / apache2 / sites-available / default и измените DocumentRoot, например. DocumentRoot / home / your-name / www
[2] sudo /etc/init.d/apache2 restart