Arvy

Well-Known Member
Oct 3, 2006
139
10
168
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!
 

24x7ss

Well-Known Member
Sep 30, 2014
272
17
68
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.
 

Arvy

Well-Known Member
Oct 3, 2006
139
10
168
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.
 

syslint

Well-Known Member
Verifed Vendor
Oct 9, 2006
268
7
168
India
cPanel Access Level
Root Administrator
Twitter
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.
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.