Make site live but still local. (2 posts)

  1. cayongrayoo
    Posted 2 years ago #

    Hi there guys.

    Currently making a site in WordPress. It's hosted locally ( i access it by going to localhost:port). Wondering how I can make the site live but still hosted on my pc? I'm using web matrix. I've read a lot about using WAMP but every tutorial I see is for people who have not started their site.
    I'm slightly new to this but not completely so I may have missed out some info.

    Many Thanks!

  2. Chris Hardin
    Posted 2 years ago #

    Point your domain name at your hosting companies DNS.

    Copy your files from your local setup to your remote setup/live host.

    Download your db from your local phpmyadmin.
    Create a new db on your live host phpmyadmin. Import the db file you downloaded.
    Edit the newly uploaded db options table change the siteurl and home to http://yourwebsite.com

    modify the wp-config.php file to use your live site db user , db name and password

    try it out.

    If it loads, you were successful. Login to the dashboard using http://yourwebsite.com/wp-admin go to settings / permalinks click save changes. This will update your .htaccess file. Your site should be live and function now.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.