IIS - 4 Different Ways to Host Multiple WebSites

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 24

  • @sistemamarco
    @sistemamarco Рік тому

    Just FANTASTIC, was exactly what i was looking for. Thanks.

  • @stayradicalshoppro-scooter2400

    With all of these methods are you able to host publicly? Or are they only accessible on a private network?

  • @animeboy93
    @animeboy93 5 років тому

    Pretty good. Will give a try. Do we need to add the IPs to the hosts file or is it just optional

  • @christianechica4270
    @christianechica4270 Рік тому

    What if I wanted to use DNS like in the enterprise setup? Usually they dont use hosts file

    • @CodeCowboyOrg
      @CodeCowboyOrg  Рік тому

      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

  • @HusseinALSHAMIRI
    @HusseinALSHAMIRI 4 роки тому

    Thank u very much for ur great explanation

  • @aashishmanandhar4494
    @aashishmanandhar4494 4 роки тому

    how to give permission for multiple port ? mine not working

  • @gobindakhanal5640
    @gobindakhanal5640 7 років тому

    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?

  • @dienhuynh6883
    @dienhuynh6883 7 років тому

    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.

    • @naveennng009
      @naveennng009 3 роки тому

      did you achevive this
      i have the same issue. i wanted this to access externally

  • @atccompany1937
    @atccompany1937 5 років тому

    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??

    • @CodeCowboyOrg
      @CodeCowboyOrg  5 років тому

      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

  • @feidongzxzx9109
    @feidongzxzx9109 2 роки тому

    very well done

  • @nocnetad9585
    @nocnetad9585 4 роки тому

    Thanks!!

  • @natipeer
    @natipeer 3 роки тому

    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!

    • @CodeCowboyOrg
      @CodeCowboyOrg  3 роки тому +1

      The best approach is the Host Headers creating 5 sites, its the easy way to organize the sites.

  • @gregchilders1934
    @gregchilders1934 2 роки тому

    The information is decent quality, though I can’t get over the lip smacking noises.

  • @knowledgesharer6983
    @knowledgesharer6983 5 років тому

    Rubbish and wastage of time.

  • @ProGr3324
    @ProGr3324 6 років тому

    You're the beeeest!!! Thanks you!

  • @ViggS
    @ViggS 7 років тому

    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.

    • @CodeCowboyOrg
      @CodeCowboyOrg  7 років тому

      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?

    • @ViggS
      @ViggS 7 років тому

      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.

    • @CodeCowboyOrg
      @CodeCowboyOrg  7 років тому

      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.