2010-08-14, 11:20 PM
MySubdomains is a plugin that will allow users to register and manage subdomains by themselves using the forum as backend to manage permissions, quotas and so forth.
Users can choose the target destination, let it be their personal websites, a topic inside your forum or any other special function.
As example, when someone types:
http://custom.myforum.com
It will be redirected to somewhere like:
http://google.com
It's my first plugin so feedback is really appreciated.
--------------------------
What is the purpose?
Imagine that you own a forum that is hosted at a short domain or that you wish to make available subdomains of your site to other people. One of the cool things about a short domain is how it is useful for creating short links. Initially, I thought that adding something like short.com/abc would be good.
However, it was unpractical since I was using Google SEO on the forum and this was complicating what should be simple from the start - so I'm using subdomains quite happily.
I can select which groups are allowed to use this feature and they can set up to 5 subdomains that can point to anywhere desired.
Installing
- Allow wildcard subdomains of your domain to route onto the domain itself (more details on the end of the post)
- Unpack the zipped files
- Edit htaccess_mysubdomains.txt to match your website details (instructions included on the file)
- Add the lines of htaccess_mysubdomains.txt to your existent .htaccess or add this one as the .htaccess file (must be placed on the root of your forum web site)
- FTP all files to your server
- Install and activate like any other plugin
How do users add subdomains?
- Login
- Click on user_cp
- Look on the bottom-left item called "MySubdomains"
- Add/Manage subdomains
License
This plugin is free.
If you make any changes or improvements, I'll be happy to include them on the official plugin and also add your name to the credits.
Constructive feedback is welcome. More features can be added but I still have a lot of work to complete in other features so I'd be really be appreciated if other developers could add and share new features for this plugin.
Thank you for reading, have fun!

---------
How to point wildcard subdomains to your domain?
In most cases just add a new CNAME entry as "*" that points to your domain from the place where your domain name is registered. Please refrain from asking here how to setup wildcard domains, just google for additional instructions according to your registrar.
If you're using localhost to test the plugin, you will need to edit your local hosts file. Please don't ask here where it can be found for your OS, just google.
Users can choose the target destination, let it be their personal websites, a topic inside your forum or any other special function.
As example, when someone types:
http://custom.myforum.com
It will be redirected to somewhere like:
http://google.com
It's my first plugin so feedback is really appreciated.
--------------------------
What is the purpose?
Imagine that you own a forum that is hosted at a short domain or that you wish to make available subdomains of your site to other people. One of the cool things about a short domain is how it is useful for creating short links. Initially, I thought that adding something like short.com/abc would be good.
However, it was unpractical since I was using Google SEO on the forum and this was complicating what should be simple from the start - so I'm using subdomains quite happily.
I can select which groups are allowed to use this feature and they can set up to 5 subdomains that can point to anywhere desired.
Installing
- Allow wildcard subdomains of your domain to route onto the domain itself (more details on the end of the post)
- Unpack the zipped files
- Edit htaccess_mysubdomains.txt to match your website details (instructions included on the file)
- Add the lines of htaccess_mysubdomains.txt to your existent .htaccess or add this one as the .htaccess file (must be placed on the root of your forum web site)
- FTP all files to your server
- Install and activate like any other plugin
How do users add subdomains?
- Login
- Click on user_cp
- Look on the bottom-left item called "MySubdomains"
- Add/Manage subdomains
License
This plugin is free.
If you make any changes or improvements, I'll be happy to include them on the official plugin and also add your name to the credits.
Constructive feedback is welcome. More features can be added but I still have a lot of work to complete in other features so I'd be really be appreciated if other developers could add and share new features for this plugin.
Thank you for reading, have fun!

---------
How to point wildcard subdomains to your domain?
In most cases just add a new CNAME entry as "*" that points to your domain from the place where your domain name is registered. Please refrain from asking here how to setup wildcard domains, just google for additional instructions according to your registrar.
If you're using localhost to test the plugin, you will need to edit your local hosts file. Please don't ask here where it can be found for your OS, just google.