rpetrov

Registered
Jan 11, 2013
2
0
1
cPanel Access Level
Root Administrator
hi,

I've been through these steps already:

Code:
/var/cpanel/userdata/username/domain.com
Simply replace "username" with the user name of the account, and "domain.com" with the domain name you would like to edit the document root for. After you have modified the "documentroot" value in this file, you will need to rebuild the Apache configuration file via:

Code:
# /scripts/rebuildhttpdconf

The only user name that is there is called Nobody and there is the domain name there. I changed the documentroot setting andwhen I do a rebuilhttpdconf and check the httpd.conf to see if changes were made they weren't.

Any ideas?
 

rpetrov

Registered
Jan 11, 2013
2
0
1
cPanel Access Level
Root Administrator
So you don't have any cPanel accounts in the server.
What are you trying to change then?

I'm trying to change the Document Root directory from /usr/local/apache/htdocs to /var/www/htdocs

Do I need to create a cpanel user account in order to do this?

I've been trying to set this VPS us for several days now.