Where to edit subdomains (www.)?


I have domain A-record set to both somesite.fi and www.somesite.fi, both IP points to my server.

somesite.fi directs correctly, byt www.somesite directs to servers default website.

How can i set www. version to go correct virtualserver?


Check out the section detailing serverAlias and serverName.

Thanks :slight_smile:

Virtualmin should create the proper ServerAlias directives automatically when you set up an “Alias Server”.