|
Automating creation of sub-domains???
Edit, Sorry realised that muxtape.com is probably not creating a sub-domain for every accout but more than likely using a wildcard in the apache config and then using php/asp/java or similar to look at the url and point it in the right direction. So youraccount.muxtape.com maps to muxtape.com/accountuser.php?usrid=101 and in Apache config *.muxtape.com maps to muxtape.com..... you think this could be right???
Hi,
I'm wondering how this is done. I have a dedicated linux server...it has some software on it called plesk that, amongst other things, allows you to create sub-domains. So all you do is enter the name of the sub-domain you want in a text field in a webpage and it goes off and creates it. A website called muxtape.com does the same...you sign up for an account and it goes off and creates the account and gives you a sub-domain like yourusername.muxtape.com.
Now i know how to create a sub-domain manually by editing httpd.conf and adding a virtual host block but how do make this automated? I'm guessing that muxtape.com is not actually creating a sub-domain everytime
Thanks
Last edited by elduderino; 07-11-2008 at 07:09 PM..
|