Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Default Create Account with IP different from main shared IP

    I'm trying to add new domains distributed equally between all of my IPs.

    I'm logged in as root and create a new account for each domain. The only way I can set an IP other than the main shared IP is, to select a dedicated one.

    Since I want to install more domains than I have IPs, I need to manually
    1. make every new created account a reseller account
    2. allow each account to use all of my IPs
    3. set the main IP of each account to the one I want to use with my domain
    4. change the IP of the domain
    5. (optionally) remove the reseller privilege.

    Have I overlooked something, or is there really no possibility to specify a shared IP on account creation?

    Does anyone know a faster way to add a domain with a specific IP?
    Last edited by anty; 11-25-2008 at 06:10 AM.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by anty View Post
    I'm trying to add new domains distributed equally between all of my IPs.

    I'm logged in as root and create a new account for each domain. The only way I can set an IP other than the main shared IP is, to select a dedicated one.

    Since I want to install more domains than I have IPs, I need to manually
    1. make every new created account a reseller account
    2. allow each account to use all of my IPs
    3. set the main IP of each account to the one I want to use with my domain
    4. (optionally) remove the reseller privilege.

    Have I overlooked something, or is there really no possibility to specify a shared IP on account creation?

    Does anyone know a faster way to add a domain with a specific IP?
    I am not sure if I understand you completely, but thy don't you change your main shared IP from "WHM >> Server Configuration >> Basic cPanel/WHM Setup". You can create some accounts on one IP and after that change your main shared IP. All new accounts afterwards will by default be created on the new IP. After this, change your main shared IP again. This will help you creating all accounts as resellers and then later removing their privileges. You can check how many domains are on a single IP by checking "WHM >> IP Functions >> Show IP Address Usage".
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Default

    Quote Originally Posted by JPC-Howard View Post
    thy don't you change your main shared IP from "WHM >> Server Configuration >> Basic cPanel/WHM Setup". You can create some accounts on one IP and after that change your main shared IP. All new accounts afterwards will by default be created on the new IP. After this, change your main shared IP again.
    Thank you, Howard. I haven't thought about that. I've tried it and it works great.
    The only disadvantage is, that it's not "thread save", meaning another person adding a domain at the same time would cause unexpected behavior.

    Is there no one-step solution?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by anty View Post
    Thank you, Howard. I haven't thought about that. I've tried it and it works great.
    The only disadvantage is, that it's not "thread save", meaning another person adding a domain at the same time would cause unexpected behavior.

    Is there no one-step solution?
    You want all accounts to have access to all IPs and then also do not want them to use those IPs. Well, the only other option would be to restrict resellers to use a specific IP or a set of IPs, I am not sure if this is of your use but you can try the feature under "WHM >> Resellers >> Reseller Center >> Edit Privileges/Nameservers". This way, a reseller will not assign any IP to a domain other than the one you choose for that reseller.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  5. #5
    Member
    Join Date
    Jul 2009
    Posts
    6

    Default

    This worked for me. Thank you

    Quote Originally Posted by JPC-Howard View Post
    I am not sure if I understand you completely, but thy don't you change your main shared IP from "WHM >> Server Configuration >> Basic cPanel/WHM Setup". You can create some accounts on one IP and after that change your main shared IP. All new accounts afterwards will by default be created on the new IP. After this, change your main shared IP again. This will help you creating all accounts as resellers and then later removing their privileges. You can check how many domains are on a single IP by checking "WHM >> IP Functions >> Show IP Address Usage".

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    2

    Default Re: Create Account with IP different from main shared IP

    Quote Originally Posted by anty View Post
    Thank you, Howard. I haven't thought about that. I've tried it and it works great.
    The only disadvantage is, that it's not "thread save", meaning another person adding a domain at the same time would cause unexpected behavior.

    Is there no one-step solution?
    Hello Anty,

    May I ask you if the question you asked for WHM/Cpanel was for a reseller account you had OR about a dedicated server that you had installed WHM/Cpanel?

    Thank you

  7. #7
    Registered User
    Join Date
    Mar 2011
    Posts
    2

    Default Re: Create Account with IP different from main shared IP

    Hello there,

    You could get WHMCS to automate things. Make different packages and then assign them to different IPs via WHMCS. So, every time someone picks a package will be assign it the corresponding IP.

Similar Threads & Tags
Similar threads

  1. Create ftp account for main domain?
    By formula13x in forum New User Questions
    Replies: 6
    Last Post: 11-27-2008, 07:05 PM
  2. Can't create main domain account.
    By Skyslayer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-03-2008, 03:07 PM
  3. How to create an user account for the main domain?
    By el-eles in forum New User Questions
    Replies: 1
    Last Post: 03-18-2006, 11:42 AM
  4. Cpanel for main Domain? WHM Can't create account!
    By kioussis in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-29-2005, 11:49 AM
  5. How do I create an account for the main domain name?
    By Shawn-commercepackage in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 07-07-2002, 11:48 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube