Hi Rupasai,
this documentation section should teach you everything you need to know to setup mendix on your own server:
https://docs.mendix.com/developerportal/deploy/on-premises-design#1-introduction