Link to home
Start Free TrialLog in
Avatar of chamyboy
chamyboy

asked on

Create Virtual Domains on IIS 4.00

How do I create a Virtual Domain
On my DNS/WEB server  ? , I'm Using IIS V.4
On Win NT4
Avatar of CoolAss
CoolAss

Do you want a virtual domain as in multiple domains pointing to one IP address or multiple domains on one machine pointing to different sites on that machine?
Avatar of chamyboy

ASKER

I want to have multiple domains pointing to one IP address .
ASKER CERTIFIED SOLUTION
Avatar of drom
drom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't understand your answer ..
All I have is only ONE IP address .

Please give me the Steps of How to
do it.
may be I was too "enthusiastic" about it ;)

k, you have one network card, one IP (1.1.1.1), dns entries for a.mycomp.com and b.mycomp.com pointing this ip and want to have virtual sites a.mycomp.com and b.mycomp.com on your IIS.

1. with management console create 2 websites for those virtual.
2. website Property dialog, tab "Web Site", group "Web Site Identification" for both sites has IP Address: (All Unassigned), TCP Port: 80
3. Now for Advanced... dialog, site a.mycomp.com, Multiple identities for this Web Site:
3.2 remove record with empty host header name
3.1 add new identity with IP: (All Unassigned), Port: 80 and host header name "a.mycomp.com"
4. the same procedure for b.mycomp.com

now one can access your sites _only_ with urls http://a.mycomp.com/... and http://b.mycomp.com/... (actually [http://]a.mycomp.com[:80][/...]). If you want to access them with bare ip-address or by "first name" you have to mention it: add

Identity (All Unassigned), 80, 1.1.1.1
and
Identity (All Unassigned), 80, a
Identity (All Unassigned), 80, b
respectively

// i suggested you have IIS on LAN-WAN gateway with two nics in the first answer, pardon me