YES AND NO.
YES, because it’s more convenient, since the form of connectivity will be much easier, with you registering a domain, buying a hosting, and directing the APP calls to this structure.
NO, if you have the network structure of your home with the by 80 of your modem or router released on port 80/443 or similar (which does not always happen on account of the operators), then you point your IP if it is fixed, or put a DNS, purchased or free, this requires searches...
I recommend the yes way, because it is more practical and in my opinion, more correct.
Good luck!
yes......................
– novic
As for this point be professional and not closed hand, hire a hosting company.
– Augusto Vasques