You're confusing "distributing a copy of Ubuntu to run on a server you own" with "distributing a copy of Ubuntu for the public to download." The former is not a trademark violation. Nor does it violate the terms of the Canonical IP policy quoted above.