Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Automatic creation subdomains
Old 04-16-2003, 05:13 PM Automatic creation subdomains
Junior Talker

Posts: 2
Trades: 0
Can anyone tell me the scripting/code that can allow the end user of my website to create thier own subdomain automaticaly on the website?

If not, does anyone know of an expert chat room where I might find someone who can answer the above question.

Thanks in anticipation of your help.
smithy92 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-16-2003, 06:37 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
I think this all depends on how much control you have over your website.

As far as I know, the easiest way is to use wildcard domains. With this system all subdomains (that haven't been separately defined) will redirect to your main site. If you are doing this you can then place an .htaccess file in your main directory and use mod_rewrite:
http://httpd.apache.org/docs/mod/mod_rewrite.html
to redirect them to the correct directories on your site.
(take a look at http://www.free-webhosting.info which uses this method of redirection).

You can then use PHP or Perl to write new subdomains to this file.

Might not be the best way (or even work!) but its as much as I know
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 04-17-2003, 02:37 AM
Junior Talker

Posts: 2
Trades: 0
The webserver is my own/dedicated so I will have complete control over it.
smithy92 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Automatic creation subdomains
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46767 seconds with 12 queries