I tried to rename the Magento installed folder but it not load properly. Before It store in "demo" folder. At that time it was loaded nicely. I renamed the folder name from that time it shows only text while browsing the website. I have already changed the permission of "var" and "media" folder.
How can I make the website visible with templates.
change the base url from backend or from database in core_config_data table rename it with your renamed folder.
if you change root folder name than this must be updated manually than only all things will work correctly.