New answers tagged ubuntu
It depends how your domain is configured. If it is in /etc/apache2/sites-enabled/000-default or (domain.com in same directory) file, then edit that file. Otherwise it will be in /etc/apache2/apache2.conf file. Find ServerName domain.com directive and add this line below that: ServerAlias www.domain.com This will make alias also work for same domain. For ...
Top 50 recent answers are included