How to set up a staging site for an existing (live) site with another web host Print

  • 0

This KB article describes setting up staging for a client that has an existing (live) site on another web host.

  1. Have the client set up a web hosting account with MediaLyon (NameHero)
    1. Go to MediaLyon > Web Hosting > Sign Up Today > mybusiness.medialyon.com > Web Hosting > Order Now
    2. Choose a Domain... "I will use my existing domain and update my nameservers" > www.avisight.com > Use
    3. Once ordered, a cPanel for avisight.com will be setup in WHM
  2. Add a 'staging' subdomain in cPanel
    1. Log into NameHero > Reseller Account > Log in to WHM > List Accounts > select the cPanel for avisight.com
    2. Go to Domains > Subdomains > Create a Subdomain
      1. Subdomain: staging, Domain: avisight.com, Document Root: staging > Create
  3. Install WordPress on the staging site.
    1. Go to cPanel > Softaculous Apps Installer > WordPress > Install Now
    2. https://     staging.avisight.com     delete wp (Install)
  4. Point the DNS
    1. Go to domain host registrar (GoDaddy)
    2. Log in using Laz@MediaLyon > Account Settings > Delegate Access > Select Account I can Access (William O'Donnell - Avisight) > Access Now
    3. Go to Domains > avisight.com > 3 Dots > Manage DNS > DNS Records > Add
    4. Type="A", Name="staging" (must be the same as subdomain name), Data="67.227.157.33, TTL="Default" > Add record
  5. Verify the sight is still up and staging DNS is resolving.
    1. Go to the main site, avisight.com, and make sure it's still up (live).
    2. Go to whatsmydns.com > type in staging.avisight.com > confirm it's resolving to 57.227.157.33.
  6. Log into staging.avisight.com/wp-admin and build the new site.

Was this answer helpful?

« Back

Powered by WHMCompleteSolution