These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Where to edit subdomains (www.)? on the new forum.
Hello
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?
https://httpd.apache.org/docs/current/vhosts/name-based.html#using
Check out the section detailing
serverAlias
andserverName
.Thanks :)
Virtualmin should create the proper ServerAlias directives automatically when you set up an "Alias Server".