With just a camera and a tripod, you can take short exposures of star fields or long star trail photographs - stars move 15 degrees per hour.
To take long exposure photographs of the sky, you need a tracking mount. GEM (German Equatorial Mounts) are the most flexible. You can also make a barn-door tracker yourself. The mounts must be polar aligned to the Earth's axis. The barn-door tracker is limited to about five minutes. You should be able to make 5 minute exposures with the GEM unguided. With longer focal length lenses or longer exposures, you will need a small scope with a reticle eyepiece to guide.
You also need to stop down you lens two stops. Your lens will not be sharp enough wide open and will also cause vignetting. Really nice pictures can be taken with a normal camera lens. The moon is not the largest thing in the sky (about 1/2 degree), the Andromeda Galaxy is 6 times larger and our Milky Way galaxy spans the sky. You do need very dark skies - you can't do this from a city. You will also need some sky charts to see what is up there as the sky changes by the hour and season. The book Wide-Field Astrophotography by Robert Reeeves is an excellent resource for this type of astrophotography and you can cheak out his web site for information as well. Just take his "technical" explinations with a grain of salt, but it will tell how to do it.
To get closer, you need a telescope. A good tracking mount is required. You will also need a guide scope or off-axis guider. The different types of scopes are numerable. You should get a scope for what you want it for. This forum is not the place for that. I would recommend cloudynights.com. It is a friendly forum and full of helpful folks.
Lunar and planetary photography can be the most demanding because of the high magnifications. While shooting straight through a scope can give OK results with the moon, it will not be enough for the planets. You will need to use positive or eyepiece projection. That uses an eyepiece to increase image size. Maginfications in excess od 1000x can be obtained with an equal loss of light and increase in camera shake. I would recommend Astrophotography for the Amateur by Covington. Here again, he is not an expert in photographic technology (a sad fact of all astrophotography writers), but he will tell you how to do it.