Try our conversational search powered by Generative AI!

Language(s) '' has wildcard hosts but no host that can be used for outbound link generation.

Vote:
 

We're getting this weird error when saving our current site bindings, if we remove the wildcard definition the error doesn't occur anymore. However removing the wildcard isn't possible in our situation. We have a few other hosts that are using the wildcard and the primary language doesn't work properly without it being assigned to the wildcard.

Our bindings looks like this:

*    en    http

site.com        https

www.site.com        https

Thanks in advance :)

#190177
Apr 04, 2018 10:06
Vote:
 

Hi Jakke,

When generating fully qualified links, Episerver will choose host names with a specific defined culture over ones without. In your case, episerver would attempt to write all URLs using the wildcard and so would be unable to create a fully qualified link.

The easiest way to resolve this would be to set up an additional host entry with the domain you'd like to use for URL generation and the language defined as EN. This will allow you to keep your wildcard and still give Episerver a domain to use when creationg full URLs.

#190223
Apr 05, 2018 10:49
Vote:
 

and don't throw away wildcard mapping, as this might become handy when scheduled jobs will require tt generate urls (if any).

#190297
Apr 09, 2018 5:57
Vote:
 

This issue https://world.episerver.com/support/Bug-list/bug/CMS-9871 might be related to your case. It is resolved and is planned to be part of next release (probably in a weeks time frame) unless QA finds any issues with the fix.

#190308
Apr 09, 2018 8:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.