Want to offer SubDomain addresses - then redirect

New to mod_rewrite? This is a good place to start.

Want to offer SubDomain addresses - then redirect

Postby Mr Bo » Fri Mar 17, 2006 2:00 am

Hi all,
Real newbie here, and I would like some help with this (am willing to PayPal someone with a few $s to assist if necessary)

I want to offer users for my web program, their own subdomain to my site - without my setting up any subdomains - i.e. I want to redirect each 'dummy' subdomain to a particular real address.
For example:

www.yourcompany.mywebsoftware.com gets redirected to:
www.mywebsoftware.com/application2879

OR

www.yourcompany2.mywebsoftware.com gets redirected to:
www.mywebsoftware.com/application3782


Basically what I want to do is allow clients to be able to choose their subdomain name, and then all I have to do is put a new entry in my .htaccess file and it will redirect it to where I want on my server.


Thanks for any assistance,

Mr Bo
Mr Bo
 
Posts: 1
Joined: Fri Mar 17, 2006 1:51 am

Return to Beginner's Corner

Who is online

Users browsing this forum: Google [Bot] and 29 guests

cron