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.

Different IP for websites

Discussion in 'General Discussion' started by Arvy, Feb 24, 2016.

  1. Arvy

    Arvy Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    92
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi there!

    I had a DDoS issue last days and I've ordered a DDoS filtered IP. Now I need to use the original IP to all services but new the new IP only for websites. I know that I'll have to change DNS zones. But I need to know how to do this in cPanel to create the VirtualHost entries using only the DDoS filtered IP, including for new accounts.

    Any ideias? Thank you!
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :),

    As per my understanding, you wish to have dedicated IPs to the websites. If you have added those IPs to the cPanel Server, then you can assign those IPs to particular websites.
    Or if you wish to have single IP for multiple websites, then make that DDoS protected IP as another Shared IP and assign it to the new accounts.
     
  3. Arvy

    Arvy Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    92
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ok, I found "Reserved IP Address Editor: By default, Apache is configured to listen on all available IP addresses. Apache can be configured to only respond on specific IP addresses. This editor provides an interface to specify the Apache IP address restrictions".

    And "The IPv4 address (only one address) to use to set up shared IPv4 virtual hosts" will impact only webserver, right?

    Question: if I set to respond only for the new IP, will rebuild the httpd.conf automatically?

    Server has 60 websites online, and I'm afraid to have problems.
     
  4. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes , the httpd.conf will be rewritten . As long as all your websites pointing to that single IP, there will be no issues. If your websites are pointing to any of the reserved ips , it won't be visible.
     
  5. Arvy

    Arvy Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    92
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Twitter:
    Great, thank you! :)
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page