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
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??
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!
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.
Just FANTASTIC, was exactly what i was looking for. Thanks.
With all of these methods are you able to host publicly? Or are they only accessible on a private network?
Pretty good. Will give a try. Do we need to add the IPs to the hosts file or is it just optional
What if I wanted to use DNS like in the enterprise setup? Usually they dont use hosts file
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
Thank u very much for ur great explanation
how to give permission for multiple port ? mine not working
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.
did you achevive this
i have the same issue. i wanted this to access externally
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??
No need to alter host file unless you are testing, the DNS will take care of the look up which points to the same iis server
very well done
Thanks!!
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!
The best approach is the Host Headers creating 5 sites, its the easy way to organize the sites.
The information is decent quality, though I can’t get over the lip smacking noises.
Rubbish and wastage of time.
You're the beeeest!!! Thanks you!
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.
Do you use a reverse proxy to route your traffic? Even without a reverse proxy, you can use a single external IP, simply use host headers in IIS.