the public DNS can be used in place of the host file, the domain name from DNS will be passed through the host header names for SNI, the host file was simply an example in this demo to mimic the public DNS
Hi! I wonder, what is the best approach when I have multiple websites on the same ip address like: mywebsite.com crm.mywebsite.com api.mywebsite.com etc.. (5 sites in total) Should I create 1 site on IIS (mywebsite.com) with 4 child apps (crm.mywebsite.com, api.mywebsite.com...) or create 5 different sites Thanks!
Nice video. I configured php script in iis in localhost. Now I want to configure python script on same localhost. I tried for it. But while running from URL always shows the bad gateway error. Would you please tell me how to solve this problem?
Hi CodeCowboyOrg ! I want ask with child applications,Could we assign Sub-domain for it ? Example: a.company.com --> assign for application CookingWebsite. b.company.com --> assign for application MSSQL.
Hii,, if I hosted multiply websites on IIS using different host name header ( the first method) .. and I set the DNS for it ...do I need to change the host file also ?? or it's just for test. I meant if I want to map server IP address to multiple domain names using DNS mapping ... should I need to change host file inside the server also??
What if I have an IIS server setup the multple IP way but would like it to work with one external IP. Is this possible or would I need to change the internal sites to all the same IP? Thank you.
the traffic gets routed to the appropriate IIS site based on what IP the traffic came through, if you had 1 external IP you wouldn't use the multiple IP way, you would use host headers. Just like saying I have the server setup with multiple ports, but want it to come from 1 port, its an odd statement to make because the statement somewhat contradicts itself. What are you trying to achieve, just curious to know?
Thanks for the reply. We need to consolidate external IPs and I was trying to see if there was a way to do this without having to change the internal IP of the websites to the same address, it seems like I will. not that big of a deal just a little bit more work to make sure everything is using DNS and not the IPs internally. Thanks again.