• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Domain alias redirect

TobiasP

Regular Pleskian
I have a domain "domain.tld" and an alias "alias.tld" all set up for a subscription. Is there a way to still maintain the email alias features but redirect users that open alias.tld to a specific site on domain.tld eg. domain.tld/alias.html?

In "Web Server Settings" there is a "Additional Apache directives" maybe there is something I can enter there so users entering alias.tld don't get redirected to domain.tld but instead to domain.tld/alias.html.
I think using htaccess in the domain.tld webfolder and using HTTP_HOST for redirecting will not work because users are already redirected when this htaccess gets evaluated.

Maybe anyone has an idea how to accomplish this?
 
Hi TobiasP,

Mail alias and web alias are two different things.
You can add a domain alias "alias.tld" for domain.tld. The new domain, "alias.tld" can have mail and web services activated. However these services will be served by "domain.tld'

please read more in docs:
http://download1.parallels.com/Plesk/PP12/12.0/Doc/en-US/online/plesk-customer-guide/65286.htm#

I know. Especially because they are two different things and because creating an email alias on its own is more difficult (impossible) with plesk. I would like to somehow override the web alias redirect. Is this possible?
 
TobiasP,

You can not use rewrite rules for this, since web alias itself uses a rewrite rule to redirect customers' browsers from domain.tld to alias.tld
 
TobiasP,

You can not use rewrite rules for this, since web alias itself uses a rewrite rule to redirect customers' browsers from domain.tld to alias.tld

okay then, I would like to request this feature! Just enable a field for putting in a custom URL for a domainalias.
 
Back
Top