Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email email@example.com.
The url paths for Magento are stored in the database in the ‘core_config_data’ table with ‘oath’ values ‘web/unsecure/base_url’ and ‘web/secure/base_url’.
To change them, you need to edit your database, either using an application like phpMyAdmin (most hosts offer this) or via the mysql command line. Simple enter your correct url in there and save. Then refresh the cache.