Forum Moderators: phranque

Message Too Old, No Replies

IIS - Directory Structure

Wanting to setup multiple websites.

         

rknuppel

9:58 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



My question has to do with directory structure. Currently, my setup looks like this. I have 1 Website created in IIS using Windows 2000 Advanced Server

My folders are as such:
/Web/ - My index for my personal website is in here.
/Web/Site1/ - This is another site and contains an index as well. I have a subdomain pointing to it.
/Web/Site2/ - This is another site and contains an index as well. I have a subdomain pointing to it.

I would like to have separate logging for each of these sites. The way to do that is create a separate website in IIS for each website (i think).

So, should I change my directory structure to the following or should I leave it the same? Is creating a separate "Web" in IIS the way to go with multiple sites? Or should I just continue to act like it is one site with directories for each other site.

/Web/ - Personal site.
/Site1/ - Site1
/Site2/ - Site2

Sorry for being so confusing! Hope someone has an opinion.

Thanks,
Ryan

txbakers

10:00 pm on Mar 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I like your second method.

I host about a dozen or so individual sites on my IIS server. Each has their own directory, each has their own "web site" set up in IIS. Each has their own host header names as well.

jonrichd

10:19 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



I would also vote for method 2. you could create your two new websites and point them to the subdirectories, and you would be OK, but you would also be able to get at the content from the original site.

That is you could view http/site1, but you could also get at it from http/web/site1. Could be confusing, particularly if the sites are already in the search engines -- could get duplicate content.

rknuppel

10:28 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



Thanks for the replies! Option 2 it is. But I've had trouble before with host headers. I will set up my 3 sites with their appropriate host headers in IIS. But then how do I set this up with my domain name provider? And do I need to configure DNS settings on my home computer?

I almost have it! Thanks a lot!

Ryan

rknuppel

12:43 pm on Mar 5, 2003 (gmt 0)

10+ Year Member



Well, I played again with my settings last night and still had no luck. Man, I know I'm close. My problem is with my domain host settings. Which of the following choices (coming directly from domain-maniac) do I want in my situation using host headers:

1) Redirect Domain
This Option will host the domain on our name servers and redirect users to the page specified by you.


2) Enter your own Name Servers
Configure your own nameservers for this domain. Enter the names for your primary and secondary nameservers.
(Example: ns1.domain-maniac.com)

3) Advanced nameserver management
This allows you to setup more then 2 nameservers for a domain.

Secondly, do I need to set up any DNS settings for each of my host headers on my home server?

Thanks,
Ryan

txbakers

1:41 pm on Mar 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have your domain registered with a good company you won't need to set up DNS on your machine.

Just point the A records i the zone file of your domain parking host to your IP address.

Then, in the properties of the website in the IIS manager, you can set up multiple sites, each with their "host header" name (which would be the www.domainname.com).

You don't need to mess with all that other stuff at this point.

rknuppel

1:58 pm on Mar 5, 2003 (gmt 0)

10+ Year Member



"Just point the A records i the zone file of your domain parking host to your IP address."

Sorry for being dumb! Could you elaborate a little more on this? I registered my domain with Domain-Maniac and don't see anything about "A records" or "zone file" on their site.

Am I just missing something or could they possible not let me do this?

A really appreciate your help!

Ryan