Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Perl Programming Language

I need a subdomain service like kickme.to


I want to give users of my site the option to register for a subdomain
redirection service. I scanned the Internet for some script, but
didn't really find anything that works. Tried the PHP script from
http://opendomains.vnn.bz/ and many others. So now I want to ask you
if you know of any script in PHP, Perl, Phyton that can accomplish
this task?
On May 30, 2:19 am, stiv <post.@gmail.com> wrote:

> I want to give users of my site the option to register for a subdomain
> redirection service. I scanned the Internet for some script, but
> didn't really find anything that works. Tried the PHP script fromhttp://opendomains.vnn.bz/and many others. So now I want to ask you
> if you know of any script in PHP, Perl, Phyton that can accomplish
> this task?

It's actually very easy to write.

I use Apache mod_rewrite to 'rewrite' all URLs "subliminally" from (.*)
\.Domain\.Etc to /path/to/some/mod_perl.pl?subdomain=$1 then in side
of that mod_perl.pl script use the subdomain name as a KEY to look up
the forwarding URL in a mySQL database then with CGI.pm or even a
Location header forward the user to the new URL. It's simple.

Just write a script that allows your users to choose a subdomain and
forwarding URL. Throw up some .htaccess config, mySQL database and the
above mod_perl script and wahlah you're in business.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc