Hi @dotnetcoreapi ,
I was following the below link but i am bit confused if it needs CDN to do https custom host name mapping.
Yes, it will per stated here.
If it requires CDN then i can remove static website hosting because CDN also does hosting which is same as Static WebSite?
CDN is backed by Azure Storage. When you add your endpoint for your CDN, you're linking it to your static blob storage.
Are there any security related features that change between Azure Static WebSite and CDN hosting?
The two aren't related as CDN points to an Azure Storage account. There are different CDN features that you can evaulate here.
So my main question is, is Azure Static WebSite hosting enough and does it allow host name mapping with https?
If you want to host your static web site on an https custom domain, you'll need to configure a CDN with your static website delivery endpoint.