Thanks for that, yes it was that file and I just went through tutorial and know what it is, very cool concept and very useful
Problem was with my hosting service. They have resolved the issue, which is good but bad news is that I don’t know what they did but it works for now and I have learned a lot about wordpress after all the trouble. They told me that the issue was with some hidden file in public_html. Thank you very much.