• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Automated Domain Aliases? Is this possible?

H

hallm

Guest
Hello Everyone,

We're a web design firm that does 'replicated hosting' for a niche industry. We setup mini-sites for clients that run on a 'username' type of setup:

Example:

site.com/joeschmo
site.com/jsmith
site.com/susie

They frequently want to use their own domain with their site, so we tell them to get a domain and forward it to their site, however this isn't ideal. Since these domains aren't really hosted on our site, and it kind of causes problems because cookies don't get set properly at times, so shopping carts and captcha's don't always work right etc etc...

We could write a script so that we direct the correct domain to the correct url (with their username at the end)... however, we'd need to automate the addition of domain aliases to our site, since we don't want to manually be adding possibly hundreds of domains to plesk...

We'd love to be able to have them go register a domain, set the nameservers to our dedicated server, set something up in their replicated site control panel and then have their site start working with their own domain name all without our interaction.

Would there be away somehow to code it in so during mini-site setup, the client adds their domain name, and then changes their name servers with their domain registrar. I'm assuming plesk stores all of the domain aliases in a database table somewhere? Could we use PHP to automatically add in the domain alisas for their site... which then tries to serve up the document root of our domain? and then we'd just detect and insert the correct user using PHP. Or better yet, automatically direct to site.com/theirusername ...

The distributors would really prefer that their domain name remain visible through the entire session...

Is this possible?

Any other ideas/suggestions solutions would be appreciated...

Our site is coded in PHP/Symfony/MySQL

We have several hundred clients, so something automated is essential.

Thanks again!
 
Back
Top