Domain mapping does not work for sub page/post

Domain mapping works for the homepage, I can reach the homepage. But when I click post or page it gives 404 not found error. I tried a plugin conflict test, but it didn't help. How can I solve this?