elitebox
10-09-2004, 06:39 AM
A few ideas here
- When adding a subdomain, you should let the user decide if they want it to point to an IP, or a specific directory in their document root, or a new directory they may want their friend to use. For example if they have htdocs/forums and they want forums.theirdomain.com to point to that directory they can do that (it works with a virtual host directive in apache)
example;
<VirtualHost 255.255.255.255:80>
ServerName forum.yourdomain.com
DocumentRoot /home/yourdomain.com/htdocs/forums/
ErrorLog
CustomLog
</VirtualHost>
I believe this option is quite important.
I also noticed when you delete a subdomain it creates a directory in /home/yourdomain.com/, when you delete that subdomain in ISPmanager is doesnt remove the directory.
Cheers,
Sam.
- When adding a subdomain, you should let the user decide if they want it to point to an IP, or a specific directory in their document root, or a new directory they may want their friend to use. For example if they have htdocs/forums and they want forums.theirdomain.com to point to that directory they can do that (it works with a virtual host directive in apache)
example;
<VirtualHost 255.255.255.255:80>
ServerName forum.yourdomain.com
DocumentRoot /home/yourdomain.com/htdocs/forums/
ErrorLog
CustomLog
</VirtualHost>
I believe this option is quite important.
I also noticed when you delete a subdomain it creates a directory in /home/yourdomain.com/, when you delete that subdomain in ISPmanager is doesnt remove the directory.
Cheers,
Sam.