We do grow watermelon and assorted other melons also. They take valuable space but well worth it. There is nothing like homegrown melon fresh picked. MMM good.
They like to be watered consistently, sunny roomy location & sandy well drained soil.
I had a perfect melon in our garden one year and when I thought the time was right to pick it I picked it up to find a mouse/vole had eaten the whole thing hollow! It looked great from the top but was gutted inside. They can be a nuisance.
Last year we had another somewhat amusing experience with our melons. They disappeared one by one. There was a thread about it at the time. I never did find out who or what was the culprit.