For example, most Apache server web files are located in thehtdocsfolder.

Create a sub-folder there to host your domain filesperhaps within awwwfolder to segregate the content from other uses.

In either version, edit thevhostssection to add a new virtual host.

Setting DNS aliases on the web server doesn’t change DNS parameters.

You must still configure your DNS to map an IP address to specific hostnames.

For example,internal.server.commay reference a company’s intranet site whilewww.server.commay reference its public-facing web page.