There isn’t a recommended way of doing that… of you’re interested in having multiple domain names, the would typically go into a separate directory structure.
I understand, yes
but i was used to, sometimes, making a subdomain which only linked to a specific directory
for example on my site, with my old domain admin, i had only added what they call a Web Path in the Apache configuration to say that : flickr.domain.com linked to /home/xxx/public_html/flickr
i will probably do it by code but i wanted to know if there was an option in Virtualmin or Apache config to do that
We discourage the use of this particular feature, as it seems to just cause confusion and headaches for folks using it – but for those who really really really want it, there is indeed an option in System Settings -> Virtualmin Config -> Advanced Options named “Allow creation of sub-domains”.
If you enable that, it should do what you’re after.
But you’d be amazed on how confused folks get when that they see that and “Sub-Servers” in the “Create Virtual Server” options
But what you’d want in your case is to create a sub-domain.
thanks for the explanation.
I think i won’t use this feature.
It’s better not to use features you don’t recommend …
Virtualmin is really easy to use and powerful, i don’t want to get bad habits using strange features