Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2002
    Posts
    152

    Default Multiple Shared IPs Possible?

    I've generally attempted to spread out my shared IP clients across several IP addresses when I've setup Apache by hand. I do this mainly because I've had incidents where one particular website sets off some company's privacy filters, and they end up blocking both the site and its IP address.

    The last time this happened, at least I only had about 6 sites being blocked from a particular company's users. Fortunately for me, one of the other sites we host FOR that company was on a different IP address.

    Is there any way to do this currently in CPanel? I'd just like the option to add several more &shared& IP addresses into the mix.

    Thanks,
    Jason
    Ecoutez! Ltd.
    www.ecoutez.com
    Our new Theme: www.MaxPanel.com

  2. #2
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    The best result will be reached by IP based hosting but for multiple shared IPs you have to set them manually or modify scripts, cpanel does not support this feature.
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    bonjour ecoutez, (assuming it's french )

    What do you mean by more shared ips? You can currently set up virtual shared accounts on any ip number you have available for that server. You can spread them any way you like.

    I am interested about the 'privacy filters' that you mentioned. Could you give an example of how a filter would block the ip address?

  4. #4
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:b85dc5298c][i:b85dc5298c]Originally posted by moronhead[/i:b85dc5298c]

    bonjour ecoutez, (assuming it's french )

    What do you mean by more shared ips? You can currently set up virtual shared accounts on any ip number you have available for that server. You can spread them any way you like.

    I am interested about the 'privacy filters' that you mentioned. Could you give an example of how a filter would block the ip address?[/quote:b85dc5298c]


    Yes it is possible to use multiple IPs for name based accounts but you have to modify DNS, httpd.conf & proftpd.conf manually because WHM doesn't do it automatically (server IP is used for name based accounts by WHM scripts)

    About restrictions, at destination networks if someone for some reasons restricts an IP address which multiple name based accounts are hosted on, no one at that destination could access to those domains, but you should solve this problem by restricting harmless and adult materials on the sites then there would be no reason to block the IPs. These filters could be any Inbount Outbout Routing filters or firewalls and etc. but it's impossible for name based accounts on a same IP restricting each other.
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    itf, thanks for clarifying what ecoutez actually meant.

    You can use multiple ips for shared accounts without manual editing. For this you can either change the ip address in /etc/wwwacct.conf (first line - ADDR) or in edit setup in whm which does the same thing. The account creation script takes the info from that file. The next shared account will then be set up with the new ip.

  6. #6
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:69ae5cd384][i:69ae5cd384]Originally posted by moronhead[/i:69ae5cd384]

    itf, thanks for clarifying what ecoutez actually meant.

    You can use multiple ips for shared accounts without manual editing. For this you can either change the ip address in /etc/wwwacct.conf (first line - ADDR) or in edit setup in whm which does the same thing. The account creation script takes the info from that file. The next shared account will then be set up with the new ip. [/quote:69ae5cd384]
    Yes your are right as I wrote in one of my last posts, scripts can be manipulated too thanks for your details but it can’t help much more because using multiple shared IPs are useful while they help to categorize domains, i.e. each reseller has all of its name based resold domains on its IP or all of domains with a same hosting package use a specific IP, or a certain user with multiple domains has all of them on a same unique IP
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  7. #7
    Member
    Join Date
    Nov 2002
    Posts
    83

    Default

    [quote:44aecb7244][i:44aecb7244]Originally posted by moronhead[/i:44aecb7244]

    itf, thanks for clarifying what ecoutez actually meant.

    You can use multiple ips for shared accounts without manual editing. For this you can either change the ip address in /etc/wwwacct.conf (first line - ADDR) or in edit setup in whm which does the same thing. The account creation script takes the info from that file. The next shared account will then be set up with the new ip. [/quote:44aecb7244]

    I tried this. I changed the the ip in the setup section in whm. The ip shows up correct but when I add a account the ip is still the old one. Do it have to reboot the server to make it active?

    m000ny-

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    [quote:c3fbad2e6d][i:c3fbad2e6d]Originally posted by mooony[/i:c3fbad2e6d]

    [quote:c3fbad2e6d][i:c3fbad2e6d]Originally posted by moronhead[/i:c3fbad2e6d]

    itf, thanks for clarifying what ecoutez actually meant.

    You can use multiple ips for shared accounts without manual editing. For this you can either change the ip address in /etc/wwwacct.conf (first line - ADDR) or in edit setup in whm which does the same thing. The account creation script takes the info from that file. The next shared account will then be set up with the new ip. [/quote:c3fbad2e6d]
    I tried this. I changed the the ip in the setup section in whm. The ip shows up correct but when I add a account the ip is still the old one. Do it have to reboot the server to make it active?

    m000ny-[/quote:c3fbad2e6d]
    You don't have to reboot. Since the last post things have slightly changed. Depending on whether the shared IP is to be used for root accounts or reseller accounts, try to create this file:

    pico /var/cpanel/mainips/root[or reseller's username]

    and put the required shared IP address in it.

    Regards,
    Norman

  9. #9
    Member
    Join Date
    Nov 2002
    Posts
    83

    Default

    Thanks moronhead,

    This works exelent.

    did what you wrote.

    Thanks again.

    m000ny-

Similar Threads & Tags
Similar threads

  1. Multiple Shared IPs
    By Giampaolo in forum Feature Requests for cPanel/WHM
    Replies: 4
    Last Post: 10-19-2011, 12:12 PM
  2. Multiple Shared IPs *without having to use multiple reseller accounts?
    By thedevilman in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-20-2008, 09:43 PM
  3. 2 shared ips, multiple sites
    By apogee in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-25-2006, 11:17 PM
  4. Multiple Shared IPs?
    By plake in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-09-2004, 12:24 PM
  5. Multiple Shared Ips on one server?
    By oneguess in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-29-2003, 10:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube