The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Developing websites on alternate domain options

Discussion in 'Bind / DNS / Nameserver Issues' 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 Forums Analyst
    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.
Similar Threads - Developing websites alternate
  1. EbyD

Share This Page