Alarm Clock Question

I've been reading through here but can't find this answer. Is it possible to turn off all ringers, except my alarm? I want to sleep through the night and not get woken up by phone calls, texts, etc. but I still want my alarm to go off in the morning. Am I missing something here? I just switched from a Galaxy and am still getting used to the different technology. Thank you
The easiest solution is to use the Do Not Disturb feature the alarm will still sound and you can have the option to allow only calls from certain people to come thru or not at all
You can also set it as a timed option to turn itself on and off so you don't forget

Original thread: https://forums.imore.com/threads/alarm-clock-question.289504/