How to match Domain name with Subfolder ?

toeh101

New member
Joined
Apr 22, 2009
Messages
1
I use dedicated server with DirectAdmin control panel to create Free Forum Service.

My script creates sub-folder for each free forum and default URL is http://mysitename/free_forum_name .

Many of free forum users request to register their own domain name, such as .com or .net .

So, how can I match sub-folder with domain name?
Where to configure?


Thank you. :)
 
DirectAdmin isn't going to do this automatically. You can create a separate section inside the user level httpd.conf file for each such user (while custom httpd.conf files are beyond the scope of DirectAdmin, this has been discussed previously in these forums), one for each such domain, each pointing to its own DocumentRoot.

Don't forget to chattr the file between edits so DirectAdmin won't be able to update it.

Jeff
 
Back
Top