Modify site url magento

Go to system -> configuration and click on the option (sidebar menu) “Web” under the main category “general” .Then fill the fields(base url) under the “secure “ or “unsecure” options .

NOTE : If SSL is installed , use the tab secure else use “Unsecure” .