Thankyou so much, Till and torusturtle.
The problem was at my registrar, as you indicated. I did not realise that I had to create separate A records for each subdomain, but in the end I used an asterisk rule, and everything is working perfectly.
I am very grateful to you both. Thankyou for taking the time to reply; it is thrilling to see everything working as it should.