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

Re: [cobalt-users] Redirect



> John,
>
>     Would this method also work to hold a sub-domain? I need to keep the
> sub-domain from rewriting to the top level domain (wildcards are being
> used). Basically, we are hand out a sub-domain to an affiliate. The
> scripting then recognizes the affiliate through a database query for the
> sub-domain. I want the sub-domain to follow throughout the site and not
> default to the top-level domain.
>
> Bryan



Bryan,
            I've used the same process for much the same process that you
outline above.

I've created multiple sub-domains in DNS and pointed them all to a single
site and from there I use a simple php script to redirect to a sub-directory
with the single site.

This process saves having to create an actual site for each sub-domain.

Regards,
            John