"Write about what you know" is a stupid rule. Nobody should ever follow it. It's misleading and it's limiting.
I've written stories set in places that I've never been to. I set a story in Shanghai. Never been there. I set stories in cities in America I've never been to.
What you "know" is subjective. You don't have to GO somewhere to know stuff about it. That's why I hate that rule. I never follow it. And if you do, I firmly believe you're severely limiting your writing and imaginative capabilities.
So you don't know what a place is like. READ. ASK. RESEARCH. BE IMAGINATIVE. That's what I do.
I'm willing to bet that almost nobody on this forum has EVER gone to New York, London, San Francisco, Shanghai, Singapore, Paris, Melbourne, Los Angeles, CHicago or Toronto in the 1920s and 30s.
But that doesn't stop people writing about it. But how can they? They don't KNOW ANYTHING about those places because they've never been there at that time.
Or have they?
See my point?
I'm willing to bet that nobody here has ever gone to the moon or been to space. Does that stop people writing science-fiction? I'm willing to bet most people here have never flown an airplane or gone to sea. Does that stop them writing maritime adventures or round-the-world quests?
I bet nobody here has ever experienced the American Civil War. Doesn't stop people writing fiction pieces about it. Or any other war for that matter.
You're only limited by what you read and research about. You're only limited by your interest and your determination. "Knowing" is irrelevant.