• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

IIS 6

Hello,

I hope someone out there can give me some direction.  I am new to IIS and installing servers so that websites can be added to them.  My task was to create a 2003 Server with IIS, Drupal, MySQL, PHP, PHPmyAdmin.

So I just let the default website be the place where everything was placed for the website.  Now they want to add another website to this machine.  Is there an easy way to make this happen so that the two websites can co-exist on this machine?

Thank you.
0
krhoades7601
Asked:
krhoades7601
  • 2
1 Solution
 
Brad HoweCommented:
Yes, they can co-exist without issue. You will need to implement host headers for your websites.

To start,

1. create a webroot folder for the new site.
2. Create the DNS entry for the new Domain URL. www.domain2.com.
3. Create the website in IIS Manager.
4. Add the required HOST HEADER value.
5. Start site.

If all is setup properly, both sites should start and you shouldn't see an error with port80 in use.

HOW TO: Use Host Header Names to Configure Multiple Web Sites in Internet Information Services 6.0http://support.microsoft.com/kb/324287

Here is a great guid explaining how to set them up.  
http://www.visualwin.com/host-header/

Essentially, All your sites will be on port 80 and have a host header added for each site you created.

Website (Drupal, pypmyadmin etc..)
 IP Address      TCP Port  Host Header Name
   192.168.0.100   80        www.domain1.com
   192.168.0.100   80        www.domain1.com

Website (Drupal, pypmyadmin etc..)
 IP Address      TCP Port  Host Header Name
   192.168.0.100   80        www.domain2.com
   192.168.0.100   80        www.domain2.com

Neither site should have
   192.168.0.100   80        "        empty                  "

Let me know if you have any questions.

Cheers,
Hades666
0
 
HCommented:
Yes very simple...

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e7a21b1f-ab13-47f2-8c61-b09cf14a7cb3.mspx?mfr=true

Let me know if you get stuck or have any questions...Ive done this many times...
0
 
krhoades7601Author Commented:
Thank you for all the information, I greatly appreciate it.  I will be trying this today or tomorrow.  I will let you know my results.
0
 
krhoades7601Author Commented:
Thank you so much for this valuable information.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now