Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

multiple website problems

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Multiple SSL License Problems - Hi, I am running multiple sites under my IIS 6.0 I have two sites that require SSL. When I add the second SSL on port 443 I get a port conflict. My router transfers all 443 call t o my IP address and I assumed that host header name will take..

Problems with multiple gets with Office documents - I've got a number of prblems with I've traced these back through thwe weblog, and find that while the document is returned by IIS with a status 200 response, the Internet Exlorer client then makes several further requests for..

Problems with Multiple Websites using Multiple IP Addresses - Hey, I have several websites running on IIS 6.0 and have decided to convert the setup over to use multiple IP addresses for several of the sites. I added the IPs in the tcp/ip of the nic on the server, and selected the IP from the

Problems with multiple web sites on SBS 2003 Std Edition - Ok, SBS Std ships with the web and both on port 80 I have moved my company web site over and I want to use my single ip address for web site. Problem is, my registar, asks for an ip and

Cookie Problems on Multiple Host Setup - I recently setup multiple hosts on a IIS 5.0 server by having two different DNS names pointing to the same server address. After doing so, my ASP page that uses Cookies doesn't work, using either DNS name, but if I use the WINS name it works fine, am I..
Author Message
cag

External


Since: Dec 13, 2004
Posts: 4



(Msg. 1) Posted: Thu Jan 06, 2005 7:17 pm
Post subject: multiple website problems
Archived from groups: microsoft>public>inetserver>iis (more info?)

Here is the situation

Running IIS 6.0 on a Windows server 2003 box with one IP address
Have multiple websites that needed to be created

www.root.com
www.bus.com
www.emp.root.com

So we handled the multiple websites by using document headers

Here is the directory structure

inetpub
wwwroot
bus
emp
images
bus
emp
index.htm

What is the best way (or a way besides a absolute link) to link to the
images from the web site "bus"?
linking to a image these way will not work /images/emp/test.gif

Also linking to a stylesheet has it's problems
www.bus.com
<link rel="stylesheet" href="index.css" type="text/css"> with index.css
in the root of bus will not work


Thanks in advance for any help.

 >> Stay informed about: multiple website problems 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Thu Jan 06, 2005 11:35 pm
Post subject: Re: multiple website problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

See answer to your previous post.

However, I would suggest that your file system organisation isn't
particularly optimal. The usual way of doing this would be:

inetpub
wwwroot
bus
images
emp
images
index.htm


Cheers
Ken

"CAG" <CAG DeleteThis @discussions.microsoft.com> wrote in message
news:4FBCE27F-4848-48C2-A4C6-9DE61A384557@microsoft.com...
 > Here is the situation
 >
 > Running IIS 6.0 on a Windows server 2003 box with one IP address
 > Have multiple websites that needed to be created
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.root.com</font" target="_blank">www.root.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.emp.root.com</font" target="_blank">www.emp.root.com</font</a>>
 >
 > So we handled the multiple websites by using document headers
 >
 > Here is the directory structure
 >
 > inetpub
 > wwwroot
 > bus
 > emp
 > images
 > bus
 > emp
 > index.htm
 >
 > What is the best way (or a way besides a absolute link) to link to the
 > images from the web site "bus"?
 > linking to a image these way will not work /images/emp/test.gif
 >
 > Also linking to a stylesheet has it's problems
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
 > <link rel="stylesheet" href="index.css" type="text/css"> with index.css
 > in the root of bus will not work
 >
 >
 > Thanks in advance for any help.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: multiple website problems 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 3) Posted: Fri Jan 07, 2005 12:36 am
Post subject: Re: multiple website problems [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

The folder "images" is outside the webroot of the website "bus". If you
were able to get to the folder "images", it would also be possible to get
to other folders on the file system (and as you can understand, that would
be a security risk).

I would recommend you to create a virtual folder "images" in each of the
websites. By doing this, you will not use any more disk space that you do
with your current setup, and all changes to the folder "images" will apply
to all websites having "images" as a virtual folder.

See all websites as individually websites, with no relation to each other.
That will help you construct the folder structure. It could look something
like:

inetpub
wwwroot
images (physical folder)
bus
images (virtual folder)
emp
images (virtual folder)

Hope this answers your question.

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>

CAG wrote:

 > Here is the situation
 >
 > Running IIS 6.0 on a Windows server 2003 box with one IP address
 > Have multiple websites that needed to be created
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.root.com</font" target="_blank">www.root.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.emp.root.com</font" target="_blank">www.emp.root.com</font</a>>
 >
 > So we handled the multiple websites by using document headers
 >
 > Here is the directory structure
 >
 > inetpub
 > wwwroot
 > bus
 > emp
 > images
 > bus
 > emp
 > index.htm
 >
 > What is the best way (or a way besides a absolute link) to link to the
 > images from the web site "bus"?
 > linking to a image these way will not work /images/emp/test.gif
 >
 > Also linking to a stylesheet has it's problems
<font color=purple> > <a style='text-decoration: underline;' href="http://www.bus.com</font" target="_blank">www.bus.com</font</a>>
 > <link rel="stylesheet" href="index.css" type="text/css"> with
index.css
 > in the root of bus will not work
 >
 >
 > Thanks in advance for any help.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: multiple website problems 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]