For a Dubai visit visa, I usually check before booking anything else, because the file number and passport details have to match exactly. The official portals work, but the steps are not always obvious if it is your first time. I found this Dubai tourist visa status check walkthrough helpful for seeing which details to enter and where. It is worth re-checking a day or two before you travel in case the status changes.