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!

Same domain name with different account & ip

Discussion in 'General Discussion' started by wouters, Aug 10, 2015.

  1. wouters

    wouters Member

    Joined:
    Aug 10, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    amsterdam
    cPanel Access Level:
    Root Administrator
    He Guys,

    I'd like to have a development version (clone) of my site on the same server.

    Is it possible to create a new account with the same domain name but a different ip so i can point my hosts file to the development account if i'm working on it?

    If tried creating a new account in whm but it tells me the domain is already in use.

    thanks!
    Wouter
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can't use the same domain name on multiple accounts, but you could use a domain name such as "dev.domain.com" or "domain.net".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wouters

    wouters Member

    Joined:
    Aug 10, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    amsterdam
    cPanel Access Level:
    Root Administrator
    He Michael!

    Thank you for your answer! I'd like to use the hosts file method instead of a (sub)domain as we have custom osx and windows applications calling the site (as part of an activation process). They're not as easily directed to a different (sub) domain as a normal website.

    So i think i'd be better of using a second server then.

    Thanx!

    Wouter
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, a second server is suitable and will allow you to use the same domain name (provided you are not using a DNS cluster).

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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