A classical problem in introductory general physics courses is the determination of the properties of the circular orbits of a particle sliding without friction on the inside of an inverted cone. Typically, the aim is to find the speed of the orbit or other physical quantities of interest as a function of the height of the particle. Here, we generalize this problem by studying the properties of the circular orbits of a particle sliding on the inside of generic surfaces of revolution ρ(z) using basic Newtonian mechanics. Given the surface ρ(z), we obtain equations to calculate several physical quantities of interest (namely the speed v, the angular velocity ω, the total mechanical energy E and the angular momentum L) of the circular orbits inside the surface. Conversely, we also study the inverse problem: the determination of surfaces in which any of the physical quantities of interest (v, ω, E or L) associated with the orbits presents a desired functional dependence on the height of the particle's orbit. As an example, we find the surfaces in which these quantities are constant in all the circular orbits. Finally, we study such surfaces using analytical mechanics.