To solve the problem, log in to SSH as root and edit the httpd.conf file with nano or a similar editor. Here is an example of what I would run:
nano /etc/httpd/conf/httpd.conf
Then, find the section of the file named DocumentRoot. If you are using nano, push CTRL+W and enter 'DocumentRoot' to...