Can I put my IP followed by and identifying number ex:
192.16.0.1/?sumNum into the DNS to differentiate between which website is being asked for?
No, what you are talking about is called Named based Virtual Hosting in Apache. As it says in the Apache documentation:
With name-based virtual hosting, the server relies on the client to
report the hostname as part of the HTTP headers. Using this technique,
many different hosts can share the same IP address.
You start by registering your domains in the DNS with a registrar, such as Google Domains. Then, through the registrar, you will create a DNS A record, for each domain pointing to the same IP address.
Within Apache, when you set up the named based virtual hosting, you are effectively saying, when you see this domain name, go to this particular directory on this computer to serve up the files (which are your HTML/PHP files). But in your case, you can point each of those virtual hosts to the same directory.
You can then use $_SERVER['HTTP_HOST']
within PHP to retrieve the domain coming in and do what you want to do differently for each domain.