Custom form not visible after restore

I have created new doctypes and a new web form in ErpNext in one fresh VM all using the GUI provided by ErpNext. Then, I took backup of it and applied on another fresh VM. DocTypes are showing properly on restore and so is the web form in the webform list. But when I visit the link of the webform, it says “Not Found”. This is with administrator id. Can someone please help me?