Linux : cPanel [rebuildhttpdconf] Missing owner for domain host.domain.tld, force lookup to root

By | September 12, 2015

Encountering the following error trying to manually rebuild your Apache cPanel config?

info [rebuildhttpdconf] Missing owner for domain host.domain.tld, force lookup to root
Built /usr/local/apache/conf/httpd.conf OK

To fix this issue, simply edit :

vi /var/cpanel/userdata/nobody/host.domain.tld

And append the following at the bottom of the file :

owner: 'nobody'

Then restart try to rebuild again :

/scripts/rebuildhttpdconf

(No error should appear now, just the Build OK  statement)

Finally restart Apache :

service httpd restart