Now that you've created your site and have migrated it into your Managed WordPress and Managed WooCommerce Hosting, as well as having verified everything is working as planned, it's time to go live! Follow the process below to start directing traffic to your new site.
Change Your Domain in wp-admin
You can also contact support who will be able to help you run a search and replace it in the site's database in order to go live.
- Log-in to wp-admin on your site and install the Better Search Replaceplugin to be able to run a search and replace it from the temp domain to the site's live domain.
- Plugins > Add New
- Search for Better Search Replace
- Now you will need to activate the plugin.
- Go to the following:
Tools > Better Search Replace
- Copy the site URL of the site of the temp domain from the browser address window. Then you will need to add the domain of the live site. Do a dry run of the search and replace. It will show the number of replacements that would be made. As the search and replace is running it will show in the progress bar.
- Click Click Here and it will show you the number of replacements that were made in the site database.
Changing the DNS Zone
Depending on if you have a new account with no sites on it, or you have migrated sites to Managed WordPress and Managed WooCommerce Hosting, you will need to either add or change the DNS A Record. The server IP for the site can be found from the portal of the site. The server IP will need to be changed in the DNS A record.
To see how to check out Adding and Editing DNS Records for instructions.
- In the Portal go to the SSL tab and make sure that the Auto Let's Encrypt Certificate toggle is on. This will generate an SSL cert for the site on the live domain.It may take 30-60 mins for the site to load over HTTPS with the new SSL cert.
- Login on the site in wp-admin and make sure that you resave permalinks.
Settings > Permalinks
Scroll to the bottom of the page and then click Save Changes.
- From wp-admin click on the Nexcess logo in the admin bar then flush the object cache.
- If you are using a page caching plugin then remember to clear the cache when the site is live.
- You can check that the IP change has been propagated by adding the sites live domain into a service like whatsmydns.
Repoint your domain name to Nexcess nameservers (optional)
- You will need a registered domain name. If you do not have one, you may register one at our website, or use another domain registrar of your choice.
- The identity of your registrar, and the login credentials for your registrar account. If you do not know your registrar, perform a WHOIS lookup.
If Nexcess registered your domain name, this account is OpenSRS and details are in the next bullet point.
If it was another company, locate their email containing this information, or contact them for assistance.
- For Nexcess Managed WordPress and Managed WooCommerce, use the nameservers provided below. Please note that nameservers are different for other types of Nexcess accounts, please review the full DNS articleand contact your support team for help.
- ns3.nexcess.net (optional)
- ns4.nexcess.net (optional)
- ns5.nexcess.net (optional)
- ns6.nexcess.net (optional)
- ns7.nexcess.net (optional)
- ns8.nexcess.net (optional)
Your site is now live on Nexcess.