I just opened a new VPS hosting account, with a hosting company I haven't used before, and I can't get the server to pick up the public_html directory in my user account's home directory. The server will only serve the files from /var/www/html.
Going back for a moment, I opened a new VPS account and the hosting service gave me root access to WHM. From WHM I created a new user called "admin_bob" with the domain "mysite.com". I dropped a hello_world.html in to admin_bob's public_html directory and the /var/www/html (I put a little text into the html file to differentiate the two). When I go to mysite.com/hello_world.html I see the one that is from /var/www/html.
If I go to cPanel and click on Domains (under the Domains category), I can see the Document Root for the domain "mysite.com" to be clearly displayed as /home/admin_bob/public_html.
What to I have to do to get the web server to pick up the hello_world.html from admin_bob's public_html directory (/home/admin_bob/public_html)?
The server is a LAMP with CentOS 7.