This is my first experimental run of setting up a linux web host. I'm setting up cPanel and I want to try to do all of the configuration through cPanel, as I know that many manually entered changes could be overwritten by the cPanel application.
I registered the FQDN and the nameservers (ns1.exampledomain.com & ns2.exampledomain.com) I can ping and dig all of those now and I can ssh to the server via the fqdn and access the default Apache root via the fqdn in the browser.
How do I go about configuring cpanel or any one of the many .conf files for Apache or DNS to also point exampledomain.com to the Apache document root. Is that even a good idea?
I know by default Apache's document root is
/var/www/html but after installing cpanel it seems to be
usr/local/apache/htdocs. Is this OK or should I change it back?