In Apache configuration, both of "ServerName" and "ServerAlias" must be defined?
"ServerName" should have "www" or "ServerAlias" ? For example, www.example.comServerName: Hostname and port that the server uses to identify itself.
ServerAlias: Alternate names for a host used when matching requests to name-virtual hosts.
ServerName can accept port numbers as well, while ServerAlias cannot.
ServerAlias can accept wildcards (eg. *.mywebsite.com), while ServerName cannot.
Thank you.