web applications - Can I map (CNAME) a custom domain to a subdomain that is part of a Wildcard on Azure Web Apps? -
i have website on azure cloud services, , have enabled wildcard website like: *.mywebsite.com
then if customer registers , select subdomain: client1.mywebsite.com, save subdomain associated customer in database. don't need on portal. works on azure web apps (azure websites).
now, if client goes domain provider , sets dns entry like:
www.client1.com cname client1.mywebsite.com
i can handle correctly in cloud services without having register "www.client1.com" in azure portal. possible in azure websites without having add www.client1.com azure portal?
short answer, no, not possible.
explanation.
what type in address bar name presented web server in http request. regardless of underlying dns responses. if dns of www.example.com provides ip address, whether cname or record, go , data from. way change http redirect.
in azure incoming server name used direct traffic correct web app (on same set of ip addresses there might thousands of other websites registered) way knows how distinguish send request incoming server name.
why worked on cloud services.
behind cloud service ip address unique servers behind it. when cloud service got http request, process it, because there else send it.
Comments
Post a Comment