- Plesk for Linux
- Plesk for Windows
How to add an alias to a subdomain? For example, the subdomain name is
sub.example.com and the alias name should be
This functionality is not implemented in Plesk yet. Vote for this feature on the Plesk User Voice portal.
Top-ranked suggestions are going to be implemented in the next Plesk versions.
Consider applying the below workaround:
Note: If you are a domain owner and Apache/nginx additional directives are hidden, please contact your service provider for assistance.
Note: The domain
alias.sub.example.comshould be resolved globally.
Add additional directives for the subbdomain in Subscriptions > example.com > sub.example.com > Apache & nginx Settings:
for Additional directives for HTTP and Additional directives for HTTPS:
CONFIG_TEXT: ServerAlias alias.sub.example.com
for Additional nginx directives:
CONFIG_TEXT: server_name alias.sub.example.com;