Set subdomains of another domain as addon, but keep main domain

hoseng

Registered
Feb 21, 2016
4
1
3
Iran
cPanel Access Level
Root Administrator
Hello
As you see I couldn't shorten the topic more than that.
I want to set all subdomains of one domain as addon to point to some directory on my host, but don't want to change it's main domain execution.
In other word, when you type another-domain.com you should see the site that it's designer, designed. But when you type x.another-domain.com it should launch the directory defined in addon domains.
Am I clear? Is it possible to do this?
Thanks i advance
 
  • Like
Reactions: drfrankensteins

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

This should be the default behavior. Simply create a new addon domain name for each specific subdomain that you want to separate with it's own document root.

Thank you.