<p dir="auto">Hey,<br>
Is there any way point my route to allow "www.domain.com" or "domain.com" without duplicate the route?</p>
<p dir="auto">Optional placeholders are not implemented yet for the host (unlike the path).<br>
So given <code class="notranslate">{subdomain}.domain.com</code> it cannot match <code class="notranslate">domain.com</code> because the dot is statically required.</p>
<p dir="auto">Ref. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="10153046" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/6821" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/6821/hovercard" href="https://github.com/symfony/symfony/issues/6821">#6821</a></p>