Help changing existing InMotion-hosted site to a new IM-hosted domain
We are planning a rebrand that will include a new name and domain for our website. Our existing site is hosted by InMotion, and the new one will be as well. The challenge is that we run a local news site that has thousands of articles on the existing site. If possible, I'd like them to all migrate to the new domain. So, https://olddomain.com/category/article_name would become https://newdomain.com/category/article_name and so on.
Is this as simple as setting up a 301 redirect in cPanel? I've worked with redirects before but never with a domain that had nearly as many pages and articles. Is there anything else we need to make sure everything switches over smoothly, and also to lessen the impact on our SEO as much as possible?
We have a dedicated VPS through InMotion and our CMS is WordPress if that matters.