- Internet Information Services 6.0
- DNS Server to resolve different name with same IP address.
- ISA Server 2004/2006
There are many ways to do multiple websites. in my steps, I used only one IP address with different Alias for the host headers.
Step 1: Prepare your website and upload to IIS
Figure 1: Two websites publish
In this examples, I have 2 websites to published to the Internet. Test1 and Test2 are used with the same IP address 10.0.0.2 and same ports 80.
Figure 2: Two properties of 2 websites
Step 2: On the both properties, you see on the advanced button in Figure 2. For Test1 website,click the IP address and click Edit and add the host header value “test1.netoverme.info”. repeat this at the Test2 website and give name “test2.netoverme.info”
Figure 3: example of host header given.
After that, restart your IIS server.
step3: Go to your DNS server. at the Forward Lookup Zone, right-click on your domain, and Add Alias and give a Alias Name as “test1” and at Fully Qualified Domain Name (FQDN), I point to my web-server which is dc-server.netoverme.info
Figure 4: Alias CName
please repeat this for test2 website. give alias name as test2.netoverme.info
Step 4: verify that test1.netoverme.info and test2.netoverme.info can browse internally.
step 5: you open your ISA server and create new web server publishing on Firewall Policy. Create to allow “All” . While you go on the wizard,
at the Define Website to Publish, type the internal website. previously, the test1 website is using “test1.netoverme.info”. Thus, we type test1.netoverme.info in the computername/Ip address box and check the box “Forward the original host header instead of the actual one”. This is important because, it will lookup the host header that we created previous step.
Figure 5: Define Website to publish
at the select Web listener, if you don’t have at all, you need to create one web listener. Even you create multiple websites, you need one web listener and listening the same port which port 80.
after you create web listener, at Select Web Listener, click Next and at the user sets, leave it as default for all users and click Next and Finish.
* Repeat the steps for Test 2 website.
Step 6: Define your External DNS and create 2 Host Records. For example, Test1.netoverme.info and Test2.netoverme.info. This is done at your public DNS or External DNS. Finally, Try to Browse..
hopefully you can work it successfully..