Hi
I was going throw this article https://docs.microsoft.com/en-us/sharepoint/administration/host-named-site-collection-architecture-and-deployment and it explains more on creating new web application and setup.
In my environment, I have a web application, root site collection already. I just want to create a new site collection under the same webapp with HNSC. I executed the powershell command which created the HNSC based site collections successfully. I can see from central admin that the hosted named site collection created under view all site collections.
New-SPSite -url $SiteURL -HostHeaderWebApplication $HostURL -owneralias $OwnerID -owneremail $OwnerMail -Template $TemplateVal
However when I tried to access http://hnsc.portal.com it redirects "Page cant be displayed". I then added a host entry in the SP server xxx.xxx.xxx.xxx hnsc.portal.com and it redirects "website not found error"
Will you please suggest me what configurations I am missing?
Is there any IIS binding or Alternate access mapping I should configure? Does it require DNS entry in domain? Will you please provide me steps?
Thanks
Shri