VPS Apache config to serve from /var/www

vps

#1

I’m new to DH and wonder how to change Apache2 root directory from

home/username/domainname/

to var/www/

I have looked in /etc/apache2/sites-available/default

But that looks OK.

The VPS packages are sold with a dedicated IP address, but browsing to my VPS ip address produces “Site not found” error - I would like /var/www to be served here too.

Any clues where to change the config?

Cheers,

Phatfil