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

RE: [cobalt-users] domain pointers



>
> i have a client that wishes to have their another domain that
> they acquired,
> "hullaballoo.com" and when it is called up, they want to have that domain
> point to hulla-balloo.com
>
> how can this be done?
>
> PS: IP addresses are not a problem, and i am not running my own DNS
>
If setting up a virtual domain isn't a problem for the second domain, you
can use a simple CGI and .htaccess. Otherwise, just set up hulla-balloo.com
on its own IP and set up A records for www.hullaballoo.com and
hullaballoo.com to point to that IP.

Here's the CGI that will point to the other domain. Save as index.cgi:

#!/bin/sh
echo "Location: http://www.hulla-balloo.com/";
echo ""

And the .htaccess file:

Options FollowSymLinks Includes ExecCGI
DirectoryIndex index.cgi
AddHandler cgi-script .cgi .pl

Chmod the index.cgi to 755.
--
Dan Kriwitsky