- Plesk for Linux
How to add an alias to a subdomain on a Plesk for Linux server?
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 the server administrator or provider for assistance.
Add additional directives for the subdomain in Domains > 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;
Warning: If the option Permanent SEO-safe 301 redirect from HTTP to HTTPS is enabled in Domains > sub.example.com > Hosting Settings, then, if alias.sub.example.com is accessed over HTTP, Web Server's Default Page will be shown. See the corresponding article for more information and resolution.