Yes adding an a record for www aimed at the same IP will be adequate to redirect the traffic.
You don’t need to do anything outlined in those other guides, an A record pointed to the IP will suffice for a simple redirect.
Try not to complicate your install unless absolutely necessary.