changing documentroot, what file to edit?

roly

Verified User
Joined
Nov 9, 2006
Messages
164
Hi

just a quick one, I need to change the documentroot for a particular domain. i can edit the httpd.conf it and it works, but is this file written over by directadmin /usr/local/directadmin/data/users/admin/httpd.conf? which is the actual file I need to edit? I tried using the httpd.conf cusomtization from within the control panel but I'm not sure what i was doing with that, it was just duplicating entries. i would rather just edit the file itself directly, can anyone advise which file to edit?

Thanks in advance

 
Hello.
Custom HTTPD Configurations - httpd.conf - Customize -
|?DOCROOT=/home/user/new/new|
thank you, dumb question do i put that here? I tried that and i get an error "DocumentRoot takes one argument, Root directory of the document tree"
 

Attachments

  • http.jpg
    http.jpg
    40.2 KB · Views: 0
Back
Top