This is really neat, thank you. I have been reading everywhere that add-on domains cannot have their own IP addresses.It is not possible from WHM however you can do it manually from Shell as:
If suppose your cPanel account username is "USER" and domains are:
maindomain.tld
addondomain1.tld
addondomain2.tld
Then you have to edit the following files using vim or pico editor
/var/cpanel/userdata/USER/maindomain.tld
/var/cpanel/userdata/USER/addondomain1.tld
/var/cpanel/userdata/USER/addondomain2.tld
And change the IP field to in each to your desired one.
Shouldn't rebuilding apache be done by running /scripts/rebuildhttpdconf instead since EA3?Rebuild apache configuration file by using:
>/usr/local/cpanel/bin/build_apache_conf
Restart apache service
Edit DNS zone file of each domain and point A record to new IP.
I had the same problem, finally after asking a cPanel tech (I love those guys) they pointed me in the right direction with the solution above.This is really neat, thank you. I have been reading everywhere that add-on domains cannot have their own IP addresses.
Yes, for me it has worked every time (and I setup 2 or 3 dedicated IPs each day). It is a bit of a pain and I am in the process of automating it with some perl scripting when I get a chance. Aside from that it works everytime and have been doing it for about a month.In your experience, does this work flawlessly? And, I guess you can now have SSL certs for add-on domains too?
I use /scripts/rebuildhttpdconf and it works for me.Shouldn't rebuilding apache be done by running /scripts/rebuildhttpdconf instead since EA3?
no problem.stevenc317, thank you for pitching in with those details. Very helpful.![]()
The reason you don't see dedicated IP support for addon domains isJust hope the boys back at cPanel are listening. This would be SOOOOO helpful to be able to assign a dedicated IP to a specific site.
That's a lot of domains but by what you just said qualifies becauseYes you are right on ICANN, but that does not mean cPanel cannot support this. In my case I have 56 dedicated IP addresses on my cPanel box due to 52 of my customers have their own SSL certificates, the other IPs are for nameservers, etc.
That affidavit is you asserting that you will adhere to the regulationsMy hosting provider (Rackspace) allows me to have unlimited IPs on the condition that I fill out an affidavit for ICANN when I request my IP blocks. Currently it is a real pain to have to manually reconfigure cPanel for each site having a specific IP address.
Absolutely WRONG! Setting them all up on their own accountsWhy not create each as their own 'Account'? The reason is I do not host your typical $9.95/month for 100mb, rather we design turn key web solutions for targeted industries (EX: Auto Corner Dealership Website System for Automotive Dealers). Since this system is run on centralized scripts I must have them all in the same 'account' so that Apache will allow for them to read and write their files as needed. If they where each in their own account it would be a nightmare of permission issues trying to access files across users.
I know something you don't know about that! :pNow if someone is looking to do SEO they are out of luck as that is a violation of ICANN (and Google/MSN/etc). Even if you were able to get past those undetected, you better have one heck of a big ISP because Google only counts cross-links from different 'C Blocks', if it is the same (which most smaller hosts have) it will not make a difference. In my case a few are from a different C Block -- which is a bonus I guess -- but that wasn't the reason for it.
I overly simplified my statements here for the sake of saving time, but let me assure you I have exhausted the techs at cPanel to come up with a solution that would work.Absolutely WRONG! Setting them all up on their own accounts
and reading and writing to files across accounts is ridiculously simple,
has really nothing to worry about in terms of permissions, and is
not even close to resembling any "nightmare" as you put it.
It sounds to me more of a case of you don't know how apparently.![]()
Not worth debating, because we are actually in agreement (for the most part), you just elaborated more than I did. Now if you read (or listen) to what Matt Cutts (Google) tells you that they do look at an IP address within the same C Block as spamming. While they never say (nor do I care) that an IP from a different C Block will help you, but he does say multiple links from within the same block will hurt you. Anyone that spends there day trying to spoof Google into get a few more PR points in an idiot and will get nowhere. Google tells you what they want you to do, make a good site with good content -- that is it. Anything else is a waste of time.I know something you don't know about that! :p
Google and most of the others no longer care about IP address or
domain name as that is unknown to most not how things are indexed
and the way it is really being done is very sophisticated and very cool!
Setting up multiple domains and multiple IP addresses and cross linking
each of your sites won't do you any good whatsoever and in fact will
actually heavily REDUCE your rankings and REDUCE your indexed levels.
I wrote the new engine and crawler to one of the major search engines
and I was consulted for several others on this very topic and though I
am not at liberty to discuss how it's been done now, I can tell you that
all the SEO dabblers out there are in for a very rude awakening!
What do you mean "bring it back" as it never left the original topic!Thank you for bringing this thread back to its original concept. I agree with you that a dedicated IP on an 'add-on' domain basis is needed for users of SSLs.
I don't argue with having dedicated IPs for addon domains, I am just simply pointing out that customers cannot have dedicated IPs for all their domains simply because "they want one". If they have a legitimate reason such as using each for e-commerce on their own SSL certificates then that would be perfectly fine to do that and there should be a setup to allow for that.Spiral said:Presently only 2 modes of operation legitimately fulfill the terms and
requirement of that regulation:
1) Merchant Use / SSL Encryption
2) Anonymous FTP Server
Now does this effect cPanel updates? Will these settings stay put?It is not possible from WHM however you can do it manually from Shell as:
If suppose your cPanel account username is "USER" and domains are:
maindomain.tld
addondomain1.tld
addondomain2.tld
Then you have to edit the following files using vim or pico editor
/var/cpanel/userdata/USER/maindomain.tld
/var/cpanel/userdata/USER/addondomain1.tld
/var/cpanel/userdata/USER/addondomain2.tld
And change the IP field to in each to your desired one.
Rebuild apache configuration file by using:
>/usr/local/cpanel/bin/build_apache_conf
Restart apache service
Edit DNS zone file of each domain and point A record to new IP.
When cPanel does an update, you will be fine.Now does this effect cPanel updates? Will these settings stay put?
Did you happen to develop the script yet?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
J | Adding Dedicated IPs in AWS | Domain Management | 1 | |
O | Can I convert dedicated ssl ips to sni? | Domain Management | 4 | |
X | Dedicated IPs to Add-on domains? | Domain Management | 1 | |
R | Addon Domains (Dedicated IPs) | Domain Management | 2 | |
D | Nameservers: Dedicated vs Shared IPs | Domain Management | 6 |