- Add DNS Zone in WHM - from the WHM console use the Add DNS Zone wizard to create the new Zone on the server, attached to the account in question.
- Edit `httpd.conf` file to allow includes - from the console as root, edit the `httpd.conf` file for your apache server (ie /usr/local/apache/conf/httpd.conf). Look for the `VirtualHost` block where the domain is configured. Toward the end of the block is an `Include` line that is commented out. Remove the comment mark.
Include "/usr/local/apache/conf/userdata/std/2_4/account/domain.com/*.conf" - Create the folders for the include line, and add a file of any name with a `.conf` suffix, for example:
/usr/local/apache/conf/userdata/std/2_4/account/domain.com.com/custom.conf - Edit the new file and insert the following lines, formatted for the proper domain:
ServerName domain.com
ServerAlias aliasdomain.com www.aliasdomain.com - Restart APACHE (command line - server httpd restart)