ispCP - Board - Support
Subdomains aliases - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Subdomains aliases (/thread-16027.html)



Subdomains aliases - Haros - 05-05-2012 06:40 AM

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


RE: Subdomains aliases - Haros - 05-07-2012 07:48 PM

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...


RE: Subdomains aliases - ephigenie - 05-07-2012 09:43 PM

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/core.html#serveralias


RE: Subdomains aliases - Haros - 05-09-2012 09:45 AM

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...


RE: Subdomains aliases - ephigenie - 05-10-2012 04:18 PM

yes