Transition baby from mosses basket to cot?

Saima

My baby boy is nearly 6 months old and we have been trying to transition him from his mosses basket to his cot with no success. Tried to put him down for naps and he instantly wakes up. Put him down at night and he only last 30 minutes in it. I have tried white noise and baby lullabies and a light machine with stars on. Does anyone have any ideas to help him settle in his own room? I don't have the room for his cot in my room. Hope all you August mummy's are doing well 😁.