デフォルトでは\var\www\html
手順
/etc/httpd/conf/httpd.conf を下記の様に変更
ファイルをviで編集
vi /etc/httpd/conf/httpd.conf
中身
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"
/var/www/htmlの「html」を任意に変更する
保存して終了
apatchの再起動
systemctl restart httpd