To make the custard filling, gently heat milk in a medium pot or saucepan over a low heat.
Add sugar after milk has heated, and stir until dissolved.
Gradually pour in the semolina, stirring with a wooden spoon, until the mixture starts to simmer and thicken.
Add vanilla and lemon zest and continue to cook, continuously stirring, until the mixture is thick like a béchamel sauce (if it does not thicken, add more semolina). Remove from heat.
Add eggs, stirring, then add butter and stir until thick, soft and smooth.
If the mixture is a bit too thick, you can add a little more milk and keep stirring until it becomes nice and soft.
Brush a deep baking tray with the melted butter.
Arrange 8 phyllo sheets over the base of the baking tray.
As you lay each phyllo sheet, drop the melted butter all over each sheet in dollops rather than brushing it.
Once you have laid half the sheets on the tray, spread with all the custard filling.
Repeat the process with 8 more phyllo sheets, dotting with melted butter as you go, keeping 1 sheet aside to finish.
Now you will have the bottom and top phyllo sheets hanging over the edges of your baking tray.
Take any sheets that hang over and cut them off with a small sharp knife and then fold any final rough edges into the dish and use your brush to butter them all over to keep them in place.
Now to make your dish look beautiful and hide these rough leftover parts, you will add one final phyllo sheet on top.
Fold underneath any excess phyllo or cut using a small sharp knife.
If there is still any part overhanging the tray, cut so you have a nice even top that covers the whole dish.
Now butter over all of this final phyllo sheet using your brush.
An important final step is to cut the galaktoboureko into the shape and size you want, as you can’t do this once baked.
Preheat the oven to 180°C (360°F). Bake for 40–50 minutes until golden.
Meanwhile, prepare your syrup, combine all ingredients in a small saucepan over a medium heat, bring to a simmer and cook for 5 minutes, or until sugar is dissolved.
Remove the lemon from the syrup.
Remember, for best results, your syrup must be cold and your pastry hot.
Allow the pastry to sit for 2 minutes, then pour the cold syrup all over slowly and, using kitchen gloves, gently shake the tray side to side to help it absorb.
Leave for a little to let the syrup soak in, then sprinkle with ground cinnamon to serve.