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.

Rename Accounts in Account Functions (from development to production server)

Discussion in 'General Discussion' started by markuswest, Mar 14, 2014.

  1. markuswest

    markuswest Active Member

    Joined:
    Oct 21, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    On my dedicated server I have two accounts, one is a production server running the companies website and the other account is the development server for the new website, now when the time comes I have to switch them around but I just want to know how can this be done safely.

    Current situation:
    website.co.za (production server)
    dev.website.co.za (development server)

    The forthcoming situation:
    old.website.co.za (was production server, now just parked)
    website.co.za (from the development server to the production server)

    Can I go under "Account Functions > Modify an Account" and on the
    development server account under:
    Basic Information "primary domain" rename the "dev.website.co.za" name to "website.co.za" and then on the production server account also under:
    Basic Information "primary domain" rename the "website.co.za" to "old.website.co.za"?

    or is there a better way to do this? :confused:

    Thanx in advance
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The method you described is suitable, assuming your development server is going to become the primary server you use for hosting the website. Note that you would have to update the name servers to use the IP addresses of the new server.

    Thank you.
     
  3. markuswest

    markuswest Active Member

    Joined:
    Oct 21, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    I just want to know can you name two accounts with exactly the same name?

    i.e. you have two accounts, which is two websites, with the same name, or is this going to give an error?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will not be able to use the same domain name on multiple accounts within the same server. It would result in conflicts with the DNS zones and Apache configuration.

    Thank you.
     
Loading...

Share This Page