• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Alias and subdomains

albans

Regular Pleskian
Hi,
I'm surprised that alises domains don't work with subdomains.

Explanation:
- I've a main domain name: domain.tld
- I create one subdomain, like: sub.domain.tld
- I add to domain.tld a domain alias: alias.tld
- Then whey I get to sub.domain.tld, it works fine
- BUT when I want to access sub.alias.tld, I get to the default page for the IP...

Is theire a way to make subdomains work for aliases? Thanks!
 
Hi,

I Have the same problem, no ideas ?

Thanks per advance.
 
I think you can put in subdomains/<subdomain name>/conf/vhost.conf:

serverAlias sub.alias.tld
 
Exactly right.

Create vhost.conf file in subdomains/subdomain/conf/

Add this to the file: serverAlias subdomain.domainalias.com

Run this command: /usr/local/psa/admin/sbin/websrvmng -v -u --vhost-name=domain.com or /usr/local/psa/admin/sbin/websrvmng -v -a to reconfigure all.

It should be working. I just tested this and it works for me on FC6.
 
Back
Top