Current time: 11-17-2024, 05:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
Subdomains aliases
Author Message
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #1
Subdomains aliases
Hi,

I have a domain.com with 2 aliases domain.net and domain.co.
Now I want to add a subdomain. I have the possibilities to choose between sub.domain.com/net/co, but what if I want to have all of them?

I tried adding sub.domain.com, sub.domain.net, sub.domain.net and point them all to the same mount point but ISPCP doesn't allow that.

So, any clues?

Thanks
05-05-2012 06:40 AM
Find all posts by this user Quote this message in a reply
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #2
RE: Subdomains aliases
Any info?

I could create subdomains with different mountpoints and symlink them but I think that is a nasty hack.

Also I thought of changing the mountpoint manually in the conf files but I read that then problems with the proftpd might come up...
05-07-2012 07:48 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #3
RE: Subdomains aliases
There is currently no "official" supported way to achieve this. Another option might be to edit the config and put a *.<domain>.net *.<domain>.com *.<domain>.org and so on as ServerAlias ...

http://httpd.apache.org/docs/2.2/mod/cor...erveralias
(This post was last modified: 05-07-2012 09:45 PM by ephigenie.)
05-07-2012 09:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #4
RE: Subdomains aliases
Thanks for the reply,

so I guess something like subdomain.domain.* as alias in the ServerAlias field of the subdomain's virtualhost entry will do the job...
(This post was last modified: 05-09-2012 10:04 AM by Haros.)
05-09-2012 09:45 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #5
RE: Subdomains aliases
yes
05-10-2012 04:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)