How To Change Website Name in WordPress

Reading Time: 2 minutes

You may have noticed, when transferring a website, that the URL is still stuck on the old site even though you have changed the virtual host file to reflect the new domain name. Or you may see the URL entirely greyed out in your WordPress portal. This mismatch can happen if you can’t change the URL within WordPress to reflect the new site name. In this tutorial, we will show you how to change the URL through the database.

Step 1: Enter the Database

If you don’t have your database credentials you can certainly grab them from your wp-config.php file, usually located in /var/www/html. Copy your username and password, you’ll need these to enter phpMyAdmin.

/** MySQL database username */
define('DB_USER', 'yourusername');
/** MySQL database password */
define('DB_PASSWORD', 'userpassword');

If you Ubuntu 14.XX and higher, you can visit https://yourhostname.com/phpmyadmin and enter your database username and password copied from your wp-config.php. CentOS users can usually go to their WHM panel and type in “phpMyAdmin” into the search bar for a shortcut into their database.  With specialty platforms like Managed WordPress or Cloud Sites check with your support team to locate your phpMyAdmin instance.

Step 2: Find the WP_Options Table

Once you’ve entered phpMyAdmin, click on your database name on the left, in this case, ours is named 929368_kittens.In WordPress' database the wp-options table has the siteurl and home row needed to change the URL.

Locate wp_options, afterwards you’ll see rows on the right hand side.  The home and site_url row is needed as we will be changing these values to the new website name.

Note:
Search home or siteurl in the Filter rows: in the search box to these entries if not readily visible.

Select Edit in the row of siteurl and home to edit the URL, including “http” or “https” (if you already have an SSL on the domain name). Once you’ve changed your URL, select GO to save your changes.

In a WordPress database change the URL by editing the siteurl and home row.

Step 3: Update DNS

Your WordPress instance is now set to your new URL!  If you haven’t done so already, you may need to set your A record to your new IP address or clear your browser’s cache to visit your new URL.

Changing the domain name within WordPress is simple enough but sometimes code within an nginx.conf or .htaccess file can also direct a site back to the old domain name. It should also be noted that sometimes a plugin, theme or database can be referenced or hardcoded to read an old domain name.  For either problem, the Velvet Blue’s plugin or WP-CLI’s search and replace command cater to the issue.  Our Managed WordPress platform performs name changes automatically from our control panel, as well as core updates.  Check out how our Managed WordPress product can streamline your work.

Transfer an SSL to Ubuntu 16.04 or CentOS 7

Reading Time: 7 minutes

SSL certificates have become a de facto part of every website. If you don’t yet have an SSL on your site to encrypt data, you should. Rather than showing an extra layer of security on sites protected by SSL, modern browsers instead now display a warning when a website does not have an SSL, essentially requiring sites to maintain their positive image.

When moving from one server to another, what needs to happen to your SSL to maintain your secure status? We’ll cover the basics for transferring traditional and Let’s Encrypt SSLs to Ubuntu 16.04 and CentOS 7.

Note:
This article will address SSLs in Apache specifically, but the same concepts apply to any service that supports SSL encryption.

Can SSLs be transferred between servers?

Continue reading “Transfer an SSL to Ubuntu 16.04 or CentOS 7”

What Are Domains?

Reading Time: 2 minutes

Domains create your address on the internet. When you own a domain, you can tell people to go to the URL mysite.com and they will see whatever content you’ve associated with that domain. Every domain name is matched to an IP address and follows the Domain Name System (DNS).

Without a domain, every website would only be identified by the IP address. Imagine that instead of typing liquidweb.com into your web browser, you had to remember 67.43.15.214, Liquid Web’s IP address. Now imagine remembering strings of numbers for every website you ever want to visit! Continue reading “What Are Domains?”

Creating a Subdomain in Cloud Sites

Reading Time: 1 minute

Websites hosted on subdomains make up a large subsection of the internet. If you own a domain you can create as many subdomains as you want with it. This can be useful when you want to create isolated sections of your websites with specific functions. Creating subdomains is useful if you want to have an online store, blog, or forum.
Continue reading “Creating a Subdomain in Cloud Sites”

What is a FQDN?

Reading Time: 2 minutes

What is a Fully Qualified Domain Name (FQDN)?

When working with domains and DNS management understanding what a FQDN is can be very helpful. This article will help explain the concept of a FQDN and a domains different components.

The Parts of a Domain

A domain is made up of a two essential parts, the Top-Level Domain (TLD) and the main Domain Name which is what you register. The other component of domain names are the subdomains. Continue reading “What is a FQDN?”

Using Liquid Web’s Nameservers

Reading Time: 1 minute

When setting up your new website with Liquid Web it’s often beneficial to use our DNS servers. If you’ve purchased your domain through a 3rd party registrar then we are not able to assist with DNS issues. By using our DNS servers this will allow our Support Team to provide DNS assistance for the domain.

Continue reading “Using Liquid Web’s Nameservers”