Consider a system of two conducting spheres, as follows
The outer sphere contains a charge $+Q$ and the inner surface is neutral.
What would be the capacitance of the system?
We know $C=\frac{q}{V}$. But here the potential difference between the spheres is 0, so will it be correct to say, that the capacitance of the system is infinity. but if I consider this whole system as a single conductor and see its potential difference with respect to infinity, I get $C=4\pi \epsilon _0(3R)$.
Now suppose I earth the inner sphere. then to make the potential of inner sphere=$0$, $\frac{Q}{3}$ charge will flow into the earth. So now a potential difference will occur between the spheres. Then the capacitance of the system will not be $\infty$. and there will be a potential difference with respect to infinity. so how exactly can we calculate the capacitance?
Please help me solve this doubt. I am really confused here. I think I have not understood what the term "capacitance" means exactly.