Support » Localhost Installs » how to run my website on my local server?

  • Hi All,
    Thanks for taking the time to read my query.

    I have a website that is live. it is hosted externally but in july i will be launching a new website on square space. When the existing URL is pointed at the new sqaurespace site, i wont have live access to my old site. I would like to run my old site on my local server but I’m unsure of how to go about switching the website from the host server to my local server.

    The webhosting company has provided me a google drive link containing all the database and files for the existing wordpress site.

    I’ve downloaded wordpress onto my laptop but am unsure of how to get the files/database from the google drive onto my computer so that the website can run on my local server.

    Any help would be much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have a look at the All in One Migration plugin (https://wordpress.org/plugins/all-in-one-wp-migration/). Install the plugin on the live server and the local server. Use All In One to export the live site to a file. Download the file. Use All In One on your local server to import the file. You’ll have to update the Permalinks once the site is imported (All In One prompts this).

    You need PHP, MySQL/MariaDB and Apache/Nginx to run WordPress: https://wordpress.org/about/requirements/

    See official documentation: Installing WordPress on your own Computer.

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Try Local By Flywheel. It’s free and makes running a local WP install or two trivially easy.

    https://localbyflywheel.com/

    There is another way.
    Keep the old site hosted where it is.
    The domain name will be updated to point to the new squarespace hosted site.

    The trick is to NOT USE the DNS system to lookup your domain name WHEN you want to view the OLD site.
    Say that your domain name is mysite.co
    Get the IP address of your old site host, say it is a.b.c.d
    Do this by putting lines like this into the “hosts” file of your computer, details on hosts file here: http://en.wikipedia.org/wiki/Hosts_%28file%29

    a.b.c.d mysite.co
    a.b.c.d www.mysite.co

    Now on this computer only when you browse to mysite.co, your browser will send the request to your old host at a.b.c.d, and it will serve your site.
    When you want to view your new site you comment out the two lines you added to the hosts file.

    Fahim Murshed

    (@fahimmurshed)

    Hi,
    Try Laragon.
    Nginx Apache and you can choose Multi PHP.

    It’s free and fastest

    https://laragon.org/

    h299

    (@h299)

    Attn: Fahim Murshed (@fahimmurshed) This laragon looks good can you tell me the following.
    What is the sequence of events to use laragon / install what in sequence 1, 2, 3, 4… ?
    Could this be used for a live site hosted locally on home PC to send/receive email / browse web etc. ?
    Could some other email provided be used instead of gmail ?

    Fahim Murshed

    (@fahimmurshed)

    What is the sequence of events to use laragon / install what in sequence 1, 2, 3, 4… ?

    After installed Laragon, follow this: https://youtu.be/8YC4B4Lu90Y?t=111 (I don’t know Mod team accept third-party link here. Last time I was using my blog site tutorial link, they flagged my account).

    Could this be used for a live site hosted locally on home PC to send/receive email / browse web etc. ?

    Send/Receive email is not WordPress related issue. WordPress is not email provider/Email client or Email server. WordPress can send the email (New Registration, reset password or other purpose). If send mail does not work, have to use third-party SMTP. Kindly search on the Google what is Email, Gmail and WordPress.

    Good luck.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to run my website on my local server?’ is closed to new replies.