Home > windows > Multiple websites (IIS), one public IP, and domains names with wildcard

Multiple websites (IIS), one public IP, and domains names with wildcard

October 26Hits:1
Advertisement

I have the following scenario: One domain (mydomain.com) that I want to point to 3 different IIS websites depending on the subdomain provided.

For instances:

  1. www.mydomain.com should go to WEBSITE1
  2. [*].mydomain.com should go to WEBSITE2
  3. [*].admin.mydomain.com should go to WEBSITE3

This is hosted on a Win 2008 server and I have only one public IP address.

What would be the most feasible solution for this?

Thanks a lot.

Answers

IIS doesn't support wildcard host headers. You will have to specify the host header for WEBSITE1, and you could set the set up WEBSITE2 as the default site, which would catch any unspecified subdomains, but for WEBSITE3 you will have to add the host headers individually to your site.

A single IP can host multiple web sites with most web servers (assuming you are working with IIS since you identified Windows 2008, but you did not identify specifically). It is a matter of setting up the virtual host configurations on the web server and registering/configuring the domains appropriately to refer to the IP address of the web server.

Here is step by step reference guide: http://myhosting.com/wiki/Adding_a_Domain_to_IIS_7

Related Articles

  • Multiple websites (IIS), one public IP, and domains names with wildcardOctober 26

    I have the following scenario: One domain (mydomain.com) that I want to point to 3 different IIS websites depending on the subdomain provided. For instances: www.mydomain.com should go to WEBSITE1 [*].mydomain.com should go to WEBSITE2 [*].admin.mydo

  • Cisco Router - How do I host multiple websites with one public IPJanuary 20

    I'm having some difficulty configuring my Cisco 4300 Series router to host multiple websites with a single public IP. I have created my access lists, but the techs over there tell me I must have one static public IP for each website I want to host, a

  • Multiple Websites Using Same Public IPOctober 10

    Hello, I have a test environemnt with only one public IP address. Is there away I can host more than one website behind the same IP using ISPCONFIG. Im guessing normally each client would have their own IP address. IS this a correct assumption? Thank

  • How to host many websites using same public IP address but different domainsMarch 9

    I know how to configure one IIS instance to run many websites using the same public ip address, but different domain names (As long as I have control over the domains). But how can you configure many IIS servers running on different virtual machines

  • Multiple Websites on Multiple Servers behind One Public IPMay 13

    Brief I'm currently working on a project to bring two of our hosted servers (one email, one web) in-house to run alongside our other web server. Hosting one web server is fairly straightforward, but I need help with how I can divert the traffic to th

  • Configuring multiple website on the Same IISOctober 16

    I have server 2008 installed on one of my servers. I have two domain names, which i want to configure for two different website in IIS7. I already configured one site for one domain name , which is using port 80. How do i configure multiple websites,

  • Multiple websites in IISJuly 5

    I have a VPS with a single IP address running IIS 7.0 Am I right in saying to host multiple websites on different domains I would: Set the domain name's primary nameserver to point to my VPS IP. Set the binding for the particular website to the chose

  • How to host multiple websites on one server-with one public IP-with Apache May 30

    I am a new to the server world, and I need some assistance setting one up. Here is my question: How can I host multiple websites on one server...with one public IP address...with Apache, without having to have registered domain names for each website

  • IIS server farm with multiple websitesJuly 16

    I'm trying to set up an iis server farm with multiple websites. I have a ControlServer that should redirect requests and manage load balancing for two similar iis web servers. These web servers contain different websites and subdomains. Web server: W

  • Building multiple websites with different domain names or single website with multiple language folderNovember 3

    Which one is better for increasing PageRank: Hosting multiple websites of different languages and interlink them Host single website and create multiple language pages and interlink them --------------Solutions------------- Good question. If it is a

  • Multiple websites within IIS running with different time zone settingsDecember 10

    Is there a way to have multiple websites running within IIS that have different time zone information? For example: The local Windows Server is running in CST. I would like one website (application) that runs in CST and a second website (application)

  • Single Shared Host, Single IP, Multiple Domains, Multiple Websites- (with and without SSL)October 16

    While my post may look similar to others, it concerns shared accounts at a web hosting provider all utilizing the same IP address (rather than different IP addresses). Here comes what I would like to ask: My web hosting provider offers: The provider

  • SharePoint online Public website to redirect to the custom domain nameJune 13

    I want my SharePoint Online Public Website to redirect to the custom domain.After logging in to the Office 365 account, will i be able to edit the SharePoint Online Public website, or will the custom domain redirection will effect the edit part of we

  • Setup IIS 7.5 with multiple website bindings and SSL?

    Setup IIS 7.5 with multiple website bindings and SSL?June 27

    On IIS 7.5 I am trying to achieve this with two websites: Default Web Site is bound to: (blank host header port 80 - http) (blank host header port 443 - https) go.example.com www71.example.com the IP address of go.example.com 2nd web site "Beta"

  • Host multiple websites from Web Server 2008 R2July 9

    I am moving our company's website to a colo web server running Web Server 2008 R2. We will be looking to host multiple sites from this server that are for public/customer viewing as well as other applications for internal office use. As I'm working t

  • How to Test Multiple Websites on One PC With Apache Virtual Hosts

    How to Test Multiple Websites on One PC With Apache Virtual HostsApril 23

    It is rare to find a web developer with responsibility for just one website. In this article, we will configure your development PC so you can test any number of websites using a dedicated domain name for each one. You will require a local installati

  • I want to host my own multiple Websites on my server. How do i setup my own child nameserver?December 29

    I host my own multiple Websites on my server. How do i setup my own child nameserver? There are 4 different websites, with .com and .net and .ro at the end. I moved them to my own server. My Domain Administration (Registrar) let's me define my own ch

  • serving multiple websites over a home DSL line

    serving multiple websites over a home DSL lineSeptember 1

    I'm a complete noob at running my own server, and I want to install 3 different sites to be served from my Mythbuntu 14.04 system at home. What I want to do is not for actual public access though, but just me and maybe a small circle of other people.

  • How to configure IIS server to redirect sub domains?April 26

    I have a machine in my network which hosts a website using IIS 7.5. I can access this website from the internet, using port forwarding on my router. So far, so good. Now and want to host multiple websites using sub domains. Now I have this (dummy ip)

  • Multiple Websites on Multiple Servers behind One External IPMay 13

    Brief I'm currently working on a project to bring two of our hosted servers (one email, one web) in-house to run alongside our other web server. Hosting one web server is fairly straightforward, but I need help with how I can divert the traffic to th

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.609 s.