There are two basic Apache installs. Years ago, Apache updated how it was intended to work, however, not all builds followed suit. For example, RedHat continued to use the older configuration methods while Ubuntu used the newer. For this reason, some quick digging must be done to figure out where your files should be installed.
I am assuming Apache 2 of any version.
First, let's determine which one you are looking at.
Please understand that the paths I use are typical (and based on memory), but may not always be the case. You may have to explore a bit
/etc/apache2/ you may see
sites-enabled/. If you do, you have the newer install/configuration.
The older install uses httpd.conf in
/etc/apache2/. You will be looking for the directive. Typically, this is
/var/httpd/htdocs/. This is where you want to place your files.
The newer install will by default use
000-default.conf. You can know for sure if you do not see a file in the format of
domainname.tld.conf. If you do not see this file, you can check
000-default.conf for the
<directory> directive. This should also be
/var/httpd/htdocs/. However, if you do see the file
domainname.tld.conf, you will need to check this file for the
<directory> directive. On some installs, this could be
/home/domainname.tld/www/, however, some installs will place the sites home directory somewhere else. There are several other places where your site directory may have been created. You will need to note this path.
Typically, in cases like this one, people create their site in
/var/httpd/htdocs/ and the
sites-enabled/domainname.tld.conf actually points to another directory. You will need to move your files to the right directory.