Imported from the Apple Support Forums via the Wayback Machine 🔗
When you go to https://www.apple.com/iphone/ you can see all of the iPhones Apple currently offers and sells new. If a past device is not listed there, then it has been discontinued and Apple is no longer offering it as a retail new device..
You may find Apple OEM refurbished offerings of past and no longer available new devices in their refurbished store (which is not available in all countries - https://www.apple.com/shop/refurbished).