Smarter Pricing to Secure the Featured Offer: How CedCommerce Is Automating Price Competitiveness for Amazon Sellers
Reading Time: 7 minutesI. INTRODUCTION: The Price Precision Imperative In Amazon’s high-velocity marketplace, even a…
Now that you have built your magento website on your localhost, it’s time to move it to a live server so that you can gain popularity at the global level.
In this article we will guide you to migrate your website from your localhost to live server.
Before we start, just make sure that you are working with a domain. If not then you can buy it from any domain provider.
So let’s get started
Login to the phpMyAdmin account on your localhost using a localhost software. The localhost software can be XAMPP or WAMP or any other localhost software.
Now open the current database and export it by clicking on the Export option displayed on the header.
Make sure the format of the files should be SQL or ZIP. (.sql or .zip)
Click the Go button.
The database will be downloaded to your PC.
Refer the screenshot
Now go to your localhost and find Magento folders and compress all the files of this folder into .zip format on your PC.
It will look something like this
Refer the screenshot
Now login to the phpMyAdmin via control panel of your live server and create a new database by clicking on the New button. Make a note of the database credentials i.e. username and password. Also note down the database name.
Refer the screenshot
Now import the database that you exported on your PC in step 1 to the new database that you created in step 3.
To import click on the Import button on the header. Next click on the Choose Files button and choose the database that you exported on your PC in step 1.
Make sure the format of the file should be .sql (Ex: MagentoDB.sql)
And finally click on the Go button.
Your database will be imported in few minutes.
Refer the screenshot
Now upload the magento zip files that you created in step 2 to the directory of your new domain. Once your upload is done, extract the files there.
Once your magento zip file is uploaded and extracted, you need to make some changes in the local.xml file.
Go to the location app/etc/local.xml and select the local.xml file. You need to change the old information corresponding to your database. The information will be username, password and database name. The credentials will be the one you noted down in step 3.
Refer the screenshot
Make sure you save the changes once it is done.
Now go to your Magento database and search for table core_config_data. Replace the localhost URL with your domain name in ‘web/unsecure/base_url’ and ‘web/unsecure/base_url’
Refer the screenshot
Now you need to clear the cache which contains the data related to your localhost. You need to perform this activity so that the cache can have new data related to your new Magento Website.
To clear the cache you just need to go to /var/cache and select all the data and delete it by right clicking on the mouse and selecting the delete option or you can delete it by clicking the red colour cross button with the hover tip Delete.
Refer the screenshot
Your Magento website will be migrated from your localhost to the domain once all the above steps are followed. Open any browser and enter your domain name and press Enter. You can see your website which will look exactly similar to the website that was hosted on Localhost.
That’s all. This article will help you migrate any magento website from your localhost to production server. Keep in mind that you need to maintain a backup of every file i.e. database files and magento files. Follow the steps and your job is done. But still if you face some issue you can come back to us with your questions. Feel free to share your feedback, also you can post your comments in the comments section.
Hope this article helps.
Reading Time: 7 minutesI. INTRODUCTION: The Price Precision Imperative In Amazon’s high-velocity marketplace, even a…
Reading Time: 3 minutesAmazon recently announced a significant change for sellers advertising in Washington state:…
Reading Time: 14 minutesBlack Friday–Cyber Monday used to be a weekend. Now it’s a pressure…
Reading Time: 2 minutesKey Updates Shopify is deprecating the “Sell from all locations to all…
Reading Time: 2 minutesWhat’s New Amazon has published a Data Processing Addendum (DPA) for Multi-Channel…
Reading Time: 2 minutesKey Highlights AI-driven traffic to U.S. retail sites will increase by 520%…
Reading Time: 3 minutesDid you know, a new one-tap ordering feature from Amazon is set…
Reading Time: 2 minutesWalmart has overtaken eBay to become the No. 2 U.S. retail eCommerce…
Reading Time: 2 minutesA new step in AI-driven commerce offers merchants direct access to hundreds…
Reading Time: 2 minutesAmazon has officially launched Amazon Haul in Spain, a budget-focused storefront designed…
Reading Time: 2 minutesOpenAI is bringing ecommerce transactions directly into ChatGPT with the debut of…
Reading Time: 2 minutesAmazon has introduced a new FBA multi-unit discount for Amazon Business orders,…
Reading Time: 2 minutesNews Summary At its recent Etsy Up event (September 2025), Etsy unveiled…
Reading Time: 2 minutesNews Summary eBay has rolled out an update that now defaults all…
Reading Time: 2 minuteseBay has announced its acquisition of Tise, a Nordic consumer-to-consumer (C2C) social…
Reading Time: 3 minutesWalmart’s seasonal practices and incentives around holiday shipping have evolved, impacting seller…
Reading Time: 2 minutesAmazon has revised its variation themes policy for 2025. Instead of removing…
Reading Time: 8 minutesEvery sale you make online in the UK comes with a cut.…
Reading Time: 3 minutesHeads-up: eBay is changing what U.S. personal and financial data appears in…
Reading Time: 2 minutesAmazon has expanded Multi-Channel Fulfilment (MCF) and the broader Supply Chain by…
Wow! This can be one particular of the most beneficial blogs We have ever arrive across on this subject. Actually Great. I'm also an expert in this topic so I can understand your hard work.
https://www.outsystems.com/profile/202227/fisher-christian/
Leave a Reply