Last updated on May 31, 2023
To add an alias to your domain, you can use the ServerAlias directive of apache server, in the file ‘/usr/local/apache/conf.d/vhosts.conf‘.
If you have, for example:
ServerAlias domainexample.com
you can manually edit to:
ServerAlias domainexample.com server2.domainexample.com