[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re: sub domain - without www



At 11:56 AM 11/10/2001, you wrote:
its ok to setup a sub-somain

but how can i setup the documentroot as a subdir of the site ?

e.g. sub1.domain1.com -> its the same as www.domain1.com/abc ?



When you set up two different domains on a Raq via the GUI you will end up with two different directories. With this in mind, the easiest way would be to put an index.html page in the sub1.domain1.com /web directory that redirects immediately to the url of www.domain1.com/abc.

Others can tell you which files to go in and edit to get the same effect without actually creating the page. You probably would not even have to create the domain via the GUI, but that I can't tell you how to do.

Here is an example redirection page. You can add or delete from it. The content=0 is the time before redirection and then the page to redirect to.

<HTML>
<HEAD>
<TITLE>Redirection page</TITLE>
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=http://www.domain1.com/abc/index.html";>

</HEAD>

<BODY BGCOLOR="#000000">
<P>&nbsp</P>

</BODY>
</HTML>