If you are hosting different domain than hostname of your server with .local
suffix, then you can set it in mDNS component settings by setting serverHost
property to the name of your domain without suffix .local
.
Example of broadcasting mDNS for domain example.local
.
mdns () { serverHost = 'example' }