Ok now I feel like I'm missing something.
itechcs:What about a structure such as:
- Website 1
- Shared Pages
- Website 2
- Website 3
- Website 4
Still has the issue that Website 2 is a different web app from the Shared Pages. Since Website 2 is pointed at by www.net as opposed to Website 1's www.com it counts as a different web app. At least this is my understanding. I know sub projects in Visual Studio work like that. I was unable to share the Themes in the base project with the sub projects. (Theme Not Found Errors are fun, especially when you are looking right at them. >_< )
Also, is there a specific need to make sites 2, 3 and 4 virtual directories instead of just a folder under site 1? If it's just a folder, it can share everything that is in site #1.
Can domains point at those websites still? Site 2, 3, 4 are virtual directories only in that I have "Web Sites" set up in the DNP to point domain names at them. I will give that idea a shot when I next get the chance, and also check if there is a way to point domain names at directories without making it a virtual directory (the DNP "Make Website" thing does make it a virtual directory right?)
The Specific Need that I have is each website is different in focus and functionality. The only things that are shared between the websites:
The login code (That I use to go in and change/add content)
The OGL (License that I use for some of the content, I am thinking of changing this into a .html and just importing it though)
Themes & Images (To have a uniform look between the websites, and eventually let people pick their own theme)
Code is kinda shared, only one class is really shared, the rest are specific to a website. Which is why I am not too worried about copying the code around, only 1 file will actually be shared, but if I could share the folder I would and just make life that much easier.
So Basically the Visible to the online world setup is:
- www.com
- www.net
- www.org
- www.info
Which gives me:
- Base
- www.com
- www.net
- www.org
- www.info
- Shared Stuff
Now to try your idea I will have:
- Base
- www.com
- Shared Stuff
- www.net
- www.org
- www.info
Which I don't mind the look of at all. I would just have to force the viewing of those child sites to force the domain name change (which should be trivial, just like forcing the use of www).
I know it screams to be 1 site, and at some point I may join some of the websites, but for now I'm keeping them seperate. Once I have some of the sites actually partially finished or up to speed, I will think about joining them together. At this point I want to keep them seperate so that if I break one for some reason its just that one that is broken and not all of them. For instance the site where I am putting my writings is almost finished in terms of functionality, while the Atlas for the fantasy world I am using for that story is hardly started, and I am still getting my ideas in order for it, I like that its completely seperate except for what is shared, and that the shared is in a very different directory letting me only know that the things for that site specifically are the only things that can break it. That there are no Web.config or Globals that are influencing it at all.
-Wilson Gearld Mead III
www.rangoric.com (Rather Blah)
blog.rangoric.name (Closer to Not Blah)