Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Developing websites on alternate domain options

Discussion in 'Bind/DNS/Nameserver' started by jamesfts, Mar 24, 2016.

  1. jamesfts

    jamesfts Registered

    Mar 24, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Firstly, I'm new to these parts so sorry if this is in the wrong section!

    I'm a web desginer/developer and have a Linux server that I use to build and host clients sites.

    This is generally my process for both new sites or clients who have access to their current site/DNS is as follows:
    - Set up cPanel account for new client/website
    - Build site hidden from search engines but accessible on a sub-domain (
    - On completion move site from sub-domain to main (removing & redirecting old site if there is one) and allow indexing on

    To me this is as simple as possible and means minimal fuss on migration as website files and associated databases all stay put and is done with just a few changes to DNS etc.

    I'm trying to find a work around for when a client has an existing site but no access to it or their DNS - we would get this access in the end as the domain would be transferred to us.

    Ideally I'd like something like:

    - Set up cPanel account for new client/website (
    - Build site as usual using their cPanel account but make site accessible on a sub-domain of our website ( and also give me access to Wordpress etc through that subdomain.

    Could this be done using redirects/aliases etc? I get the following error when trying to use an alias "There was an error when the system attempted to create the alias. (XID sjd3sc) The domain “” already exists in the Apache configuration." So I'm guessing it doesn't like the fact that both domains are run from the same server?

    If it isn't possible and I should stick to physically moving files/db etc from a staging area to a live site on completion.

    Any thoughts much appreciated!
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Does this subdomain name already exist on this or any other account? You can check this with a command such as:

    grep /etc/userdatadomains
    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice