I don't where the find the answers to these questions in this forum.
That's normal, because this forum is not about webservers and such, but about Dynamic DNS.
You better would raise this in an Apache or TeamViewer forum. Whatever, have a look into httpd.conf. This is where most of the settings for Apache reside. All parameters and directives are very well documented there already. If you want to run different sites with just one Apache server - this is possible as well, look after "virtual hosts" in httpd.conf. I'm sure you can achieve what you want.