I have several cPanel accounts on my server (running Cloudlinux 5). I managed them using WHM.
My current situation (replacing the real domain with
Account A has an addon domain
Account B's primary domain is
I want to add another sub domain
sub2.example.com to Account B, so that it points to Account B's document root.
Now cPanel doesn't allow me to do so. It says
example.com is owned by another user, which should be Account A, I guess.
Is there any way to point
sub2.example.com to Account B's document root? I'm not asking for redirection from
sub.example.com. The url
sub2.example.com should not change.
What I have tried:
Add DNS record:
sub2 IN CNAME sub.example.com.
sub2.example.com just loads the server IP's default document root.
Any help is appreciated.