Azure-docs: Wildcard subdomain for Azure CDN custom domain

Created on 14 Dec 2018  Â·  27Comments  Â·  Source: MicrosoftDocs/azure-docs

It doesn't yet seem like Azure CDN supports wildcard subdomains for the custom domain.

I get "HostName "*.mydomain.com" is invalid. It must be a valid domain name, IP version 4, or IP version 6."

Is this something that is in the works?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author cdsvc product-question triaged

All 27 comments

@FrankSandqvist Thanks for the question! We are investigating and will update you shortly.

@FrankSandqvist I have assigned this to content author for investigating on this.

Don't know if this helps but we have need for this feature also and we are experiencing the same behavior. The CDN we use is Verizon standard

Sounds good. If it helps, we use the Microsoft CDN (not verizon or akamai)

Hi all,

I'm from the Azure CDN product team. Support for wildcard domains for Verizon and Microsoft is coming early 2019. Feel free to reach out to me with any additional questions at maxwell.[email protected].

@FrankSandqvist We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@mdgattuso Any updates on this feature?

Hi @mdgattuso Any updates on this feature?

@mdgattuso - Any updates?

Hello @mdgattuso, @SubhashVasarapu-MSFT, do you have some updates about wildcard domains?

Thanks in advance.

@atomikdesign, There was no ETA set as of now for this feature. You can vote for this feature here and can provide your feedback.
Thank you.

Hi.

Does this mean that if I host a site, I will have to visit it using www.example.com instead of example.com?

As in, support for example.com is not here yet?

Hi all,

I'm from the Azure CDN product team. Support for wildcard domains for Verizon and Microsoft is coming early 2019. Feel free to reach out to me with any additional questions at maxwell.[email protected].

@mdgattuso any update on this?

@mdgattuso any update?

@govi2010

Take a look here https://docs.microsoft.com/en-us/azure/cdn/cdn-map-content-to-custom-domain

Any alias record type can be used for Custom domains if you're using Azure DNS as your domain provider. This walkthrough uses the CNAME record type. If you're using A or AAAA record types, follow the same steps below and replace CNAME with the record type of your choice. If you're using an alias record to add a root domain as a custom domain and you want to enable SSL, you must use manual validation as described in this article. For more information, see Point zone apex to Azure CDN endpoints.

In my case, I want to be able to go example.com instead of www.example.com .

I think you can use A records to solve this problem :)

@sander1095 I have wildcard domains. Like *.abc.com.
a.abc.com
b.abc.com
asldjhasld.abc.com

Although this issue was closed with information from @mdgattuso, it is still not allowed to assign a wildcard domain to Azure CDN:

image

@SubhashVasarapu-MSFT should this be re-opened?
Looks like there is a confusion about the differences between CDN and WebApp, even on UserVoice

Thanks

Any news on this? This is really needed!

Hi! Our service needs ability for the users to simply register their accounts (*.ourdomain.com). We can't have it on Azure so are going to move from it. Is there any option that this feature will be present in the near future? Thanks!

@DmitrySikorsky We also have *.ourdomain.com project.
and We did not found a direct solution.
So, We moved all our static files (JS/CSS/IMGs) to one specific domain(ourdomain.com in our case). and then add CDN to that static domain.

I can recommend siteground.com. Low cost and wildcard support for subdomains. (I am not related to them in any form)

@SubhashVasarapu-MSFT

Please re-open the issue, until official advice/support is given I do not understand why this issue is closed

Is there some walkaround for this issue? Evaluation of Https take couple hours so it not suitable for us. We need to have wildcard subdomain. Is there something which can be done?

@CrazyBaran Unfortunately I had to move away from Azure, there is no way to fix it using existing CDN tools there.

I have a wildcarded domain and it's working great on Azure CDN. Can you be more specific to what you're trying to do? Add SSL to your CDN or create a wild card for your subdomains in the rules engine? This aspect I have not yet found a solution for, though I have posted a question https://github.com/MicrosoftDocs/azure-docs/issues/56190

@awentzel, how did you get wildcard domain working on Azure CDN? When I try to put in wildcard custom domain such as *.customdomain.com into CDN's custom domain configuration, I get Hostname is invalid error.

@awentzel Is it possible to explain how you managed to add a wildcard domain to a Azure CDN service?

Was this page helpful?
0 / 5 - 0 ratings