Add to Favourites Add to Favourites    Print this Article Print this Article

I want to control email accounts of a Domain Pointer

Domain Pointers are designed to be exact duplicates of the domain they're created under.  As such, you cannot edit many aspects of them.

However, if you wish to have the website data remain the same as the , but be able to control email accounts, you can do it by creating the as another full domain name, and then use symbolic links to link the website data to that of the main domain.

1) If the Domain Pointer exists, delete it.

2) Create the Domain Pointer as a full domain:
- User Level -> Domain Setup -> Add Another Domain ->

3a) Change the DocumentRoot of the, to point it to

Admin Level -> Custom Httpd Config ->

add CUSTOM token code:

|*if SSL_TEMPLATE="1"|

and click Save.


3b) Link the data directory that of the main domain for user , requires ssh:

cd /home/username/domains/
mv public_html public_html.old
ln -s ../ ./public_html
mv private_html private_html.old
ln -s ../ ./private_html
chown -h username:username public_html private_html

If everything works, and there is no important data in the public_html.old and private_html.old, then you can delete those 2 unused directories.

You can now create email accounts for, independently from the main domain.

A side-effect of this change, if you can control the SSL certificates for each pointer independently.

Was this answer helpful?

Also Read