If you created a site in your local server and wants to make it live, we prefer you to use All-in-one WP Migration. Plugin
This plugin exports your WordPress website including the database, media files, plugins and themes with no technical knowledge required.
Upload your site to a different location with a drag and drop in to WordPress.
Let's start :
Step 1 : Go to your local WordPress dashboard. And click on add new plugin.
Step 2: Search all in one
Step 3 : Install and activate All-in-One WP Migration
Step 4 : Check left hand site for the plugin and click on export.
Step 5 : Click on export to file. Export to>>FILE
Step 6 : Wait for few seconds or minutes and click on DOWNLOAD LOCALHOST.
Step 7 : When your file downloaded successfully. click on close button.
Your WordPress file now exported successfully.
Step 8: Now go to your live server and open WordPress dashboard.
Step 9: Repeat Step 1 to 3.
Step 10 : Now Go to WP migrate plugin and click to import.
Step 11 : Click on IMPORT FROM>>FILE
Step 12 : Select file from your system, exported file.
Step 13 : Import file successfully. wait for the execution.
And its done, you have successfully import file from your local server to live server. Now just refresh your site you will see your website is just ready.