domains and subdomains pointing to specific folder

aleborg

Verified User
Joined
Nov 30, 2003
Messages
79
I'd like to se the possibility to be able to choose what folder a domain or subdomain is pointing to. I have a lot of customers that needs this feature.
 
How exactly do you see this? Do you want the possibility of having a subdomain that points to /domains/<subdomain>/ or what exactly do you need?

You could change the document root from within the custom httpd.conf administration.
 
l0rdphi1 said:
Please, aleborg, you already posted a similar topic here. Thanks.
But this is a request for a feature, the other topic was a question!

S2S-Robert said:
How exactly do you see this? Do you want the possibility of having a subdomain that points to /domains/<subdomain>/ or what exactly do you need?

You could change the document root from within the custom httpd.conf administration.
I would like to have it like ProWebUK describe it here: http://www.directadmin.com/forum/showthread.php?threadid=1956
 
Last edited:
Any status on this?
A lot of our customer requests these functions:
* Possibility to point domains/subdomains to any folder
* Possibility to point ftp-users to any folder such as "domains/xxxxx.com/public_html/images/folder"
* Possibility to create several MySQL databases with one user
* Wildcard in domains, such as "*.xxxxx.com"
* Possibility to point SSL-sites to any folder
* Possibility to use wildcard certificates and choose where the different subdomains with SSL should point(like the first point in this list).
 
ok, but is it possible? We have 1-2 customers asking about these things every day :(
They are also asking about how to add domain pointers that points to subdomains, like www.domain2.com --> sub.domain.com
 
I'll keep that in the back of my mind. Will probably add it to a the domain pointers section as a different pointer type (Domain Alias) ..

John
 
Hi again!

My customers also want to be able to have several domains with different SSL-certificates and IP's under one account, is that possible to fix too? Today one user can only have one IP but they need to be able to have one for each domain and one SSL-certificate for each domain.
 
That would require multiple IPs for each User. It's not built that way right now .. However, if you want to manually edit some files, it *might* work.

/usr/local/directadmin/data/users/username/domains/domain.com.conf

Try changing the IP in that file and then re-write the httpd.conf:

echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

If the IP is not assigned to anyone else, it might work. (Might need to remove it from the /etc/httpd/conf/ips.conf file)

John
 
My customers also asks how they can redirect http://www.domain.com to http://domain.com and how to use wildcards in subdomains.

Is there a release day for the next update? There's plenty of things that we're missing in DA and we really hope that it will be included in the next version.
 
aleborg said:
My customers also asks how they can redirect http://www.domain.com to http://domain.com
Well, I suppose the customer is always right, but domain.com is the name of a domain and www.domain.com is the name of a service at the domain.

So I can see the opposite (domain.com redirecting to www.domain.com) as being a lot more reasonable.

Right now DA will automaticaly show the same website for domain.com and for www.domain.com. Why isn't that suitable?
and how to use wildcards in subdomains.
I'm not sure what you mean by that. You can create your own DNS entries easily enough for wildcards in subdomain. Are you looking for something else?
Is there a release day for the next update?
I believe it's set for the 30th or 31st of this month (May).
There's plenty of things that we're missing in DA and we really hope that it will be included in the next version.
This is a pretty open statement. You'd probably be better served listing what you're looking for.

Jeff
 
As you said, the customer is always right. The customer wanted to redirect http://www.domain.com to http://domain.com

We have external DNS-serrvers and we're not using the internal DNS_servers. All domains has wildcard enabled already but it's not enabled by DA in apache, that's the problem. My customers wants to be able to redirect wildcard to any folder of free choice.

Yes it's an open statement but I have made a list in this thread and in another thread, some of the things we miss is:

- choice to point domains to any folder
- choice to point subdomains to any folder
- choice to point SSL-sites to any folder
- possibility to use wildcard SSL, if i've installed an wildcard SSL and creates a subdomain then SSL will work on that subdomain as well
- possibility for a user to have more than one IP, if a customer has 2 domains and wants to have SSL for both domains they shouldn't be forced to have 2 accounts.
- choice to point "*.domain.com" to any folder
- Bind DA to one IP so that SSL on port 443 can be used instead of 2222

And a question/request, if I add a Domain pointer, http://www.domain2.com -> http://www.domain.com, what will happen to email sent to domain2.com? Will they be forwarded as well to domain.com? Ex: If I have [email protected] and send a mail to [email protected], will the mail be rejected or will it be forwarded to [email protected]?
 
Originally posted by aleborg ....
1. choice to point domains to any folder....
2. choice to point *.domain.com" to any folder.

Agree, these 2 items are always high on my wish list too and would seem to be relatively simple things to implement.

1. When using the Domain Pointer area it would seem simple to allow a sub-folder and/or htm file to be typed in to point to rather than no other option except to the site index page as it is now. That way I could point lower traffic domains to subfolders or htm pages, especially valuable if the main page is not too relevant, or as a neat way to get stats for other domains which do not warrant their own site.

2. Have asked about wild card usage for sub-domains here in the past but could do not recall getting help on the issue. I have sites which get traffic going to subdomains but I do not know the names of the subdomains, thus a * wildcard is needed which then points to the main page or an htm file.

Thanks.
 
Last edited:
still waiting for this :)
Also would like to se the possibillity to add domains to an account through the API
 
The DA staff check this forum only occasionally, and they don't generally report new features until they're ready to add them, or at least add them to the list of features to ask.

If you're in a hurry to find out if they'll add the feature you're requesting, you should contact the DA sales department.

Jeff
 
Back
Top