Current time: 05-05-2024, 08:43 PM Hello There, Guest! (LoginRegister)


Post Reply 
No subdomains for domain aliases?
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
No subdomains for domain aliases?
My current control panel system (one i wrote), has seperate users and domains, so that one user account can manage many domains. I'm working on migrating my users over, but am running into some issues as how to setup the accounts in ispCP and not confuse my current clients too bad.

In my control panel, I implemented a concept of "parked domain" (which I guess some people use to mean something else, but think of it as a "clone of the site, with a different url"), meaning the domain was different, but it pointed to the same DocumentRoot as another domain under the account. This would be the same as a "Domain Alias" with the directory mount point set to /, and "Forward to URL" set to no. In my system if you add a "parked domain" you get all the subdomains created too. I just add extra alias lines in the vhost, so its really easy.

Example: your main domain is maindomain.com, and then you create domainalias.com which points to /. If you add subdomain.maindomain.com, you'd also have subdomain.domainalias.com available, since they are the same site really...

I really need either this feature, or the ability to create subdomains for domain aliases to do my migration. I think implementing the "parked domain" sort of thing would be easiest, as this could just be done when creating the apache conf's by adding an extra entry to the aliases line. I took a look at how the domains, domain_aliases, and subdomains tie together, and it looks like a domain alias isn't an actual domain, but instead a different table. So it doesn't look like it would be easy to allow creation of subdomains for an alias....

What do you guys think? Anyone else blocked by this same issue?
08-25-2008 03:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
No subdomains for domain aliases? - pgentoo - 08-25-2008 03:25 PM

Forum Jump:


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