PDA

View Full Version : Subdomains completely seperate from Subdirectory? Possible??



Andrax
04-02-2004, 08:57 AM
One of very few pet peeves of mine about DA is the way SubDomains are handled.

The reason that I don't like them is that when you create a subdomain id DA, its both a subdomain and a subdirectory. Say I make a forums subdomain. That url is http://forums.mydomain.com

Well, people can get to the same location if they go to http://www.mydomain.com/forums

It's not a fatal issue or anything, its just one of those things that bugs me for whatever reason. So I thought I would post and see if anyone else felt the same way, and find out if its possible or planned to make a SubDomain JUST a Subdomain instead of both SubDomain and SubDirectory.

As a point of refrence, as a former Ensim user, SubDomains were created via FTP, and a user would simply create a folder in their public_html directory named subdomain.domain.com & from that moment on, that subdomain was ready to go. Going to http://www.domain.com/subdomain doesn't work because the subdomain is ONLY a subdomain.

;)

DirectAdmin Support
04-02-2004, 11:32 AM
Hello,

Just change the template :)


cd /usr/local/directadmin/data/templates
cp virtual_host*sub.conf custom
cd custom
#edit the 2 files to change the paths that are used.


John