Subdomain to domain move (302 - 301)

I have a subdomain (shop.example.com.au) for my ecommerce site (51.161.190.100) and our domain (example.com.au) (49.160.100.100) was hosting our website. We have moved our website to our ecommerce site (51.161.190.100) by changing the A record of our domain to (51.161.190.100) This was a hasty move by our developer, and we now have 302 redirects for all our Shop.example.com.au going to example.com.au We need to permanently move all of the subdomain URL’s to domain urls. Do we have Bulk redirects or page redirects?

The result we need is:

  1. shop.example.com.au/* needs to permanently (301 redirect to)
  2. Example.com.au/*

The changes have already been made; however, Google SEO still sees all shop.example.com.au pages as (302), but they no longer exist.

One last thing - we now have A records for both Shop.example.com.au and example.com.au pointing to the same IP address (51.161.190.100).