views:

45

answers:

2

Hi, I have two intranet website but they are as folders under default website so I would access as //server-internal/websitedirectory1/ adn //server-internal/websitedirectory2. Users don't like this. They want to access with some meaningful name like website1.intranet.com and website2.intranet.com. How can I achieve this? Thanks a lot.

A: 

You need to add multiple Web Sites in IIS and set them to respond to different Host headers (in Properties)

You'll also need to set up DNS.

SLaks
Thanks for the quikc reply. ok. I have set up the host headers as website1.intranet.com and website2.intranet2 for two different websites with the same ip address but how do i setup dns? the ip address of the server is one that i am suppose to set up for website? or can i assign any random ip for both website?
shahk26
Both domain names must resolve to the IP address of your server. (Otherwise, the website would be unreachable)
SLaks
ok thanks. so how do i setup up dns now? and do i need to restart iis in order to make this change effective?
shahk26
+1  A: 

You will have a problem if these two "sites" share session information. Test this by setting up two virtual folders.

James Westgate