How can I change the domain name for my WordPress blog?
Overview
This article will show you how to change the domain name for a WordPress site on your (gs) Grid-Service. In this example, we will move blog.gs-example.com to just gs-example.com. However, this can be accomplished between any domain or subdomain hosted on your (gs) Grid-Service.
Requirements
Before you start, you will need:
-
WordPress installed and your WordPress administrator user login credentials handy.
For information on using our 1-Click installaer, please see: Installing WordPress using the 1-Click Application Tool.
READ ME FIRST
The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please take a moment to review the Statement of Support.
Instructions
Be sure that your target domain (in this case, gs-example.com) does not exist as a folder in the domains directory. If it does, you can use the File Manager tool or FTP to rename it.
Via WordPress Dashboard
- Log into your your WordPress Dashboard as an administrator.
-
Next, click on Settings from the menu, and then General. See Figure 1.

Figure 1. Click on General to get started. -
The two fields we'll change are WordPress Address (URL) and Site Address (URL), see Figure 2.

Figure 2. -
Enter the URL you'd like to use. For this example, we'll change the two fields to http://gs-example.com. See Figure 3.

Figure 3. - Scroll down the page and click on the Save Changes button.
That's it!
TIP:
Remember that your WordPress Dashboard has now changed and will be using the URL you entered in Step 4.
Via phpMyAdmin
- Access phpMyAdmin for your (gs) Grid-Service. For detailed instructions, please see: Accessing phpMyAdmin for your (gs) Grid-Service.
-
From the left menu, click on your MySQL database. See Figure 4.

Figure 4. -
Also from the left menu, select wp-options. See Figure 5.

Figure 5. -
Check the box for blog_id and click on the Browse tab, see Figure 6.

Figure 6. -
The table contents should be in ascending order by option_id. Click on the pencil icon to the right of siteurl which has an option_id of 1. See Figure 7.

Figure 7. -
Enter your new blog domain name and click the Go button. For this example, we are changing the domain from http://blog.gs-example.com to http://wp.gs-example.com. See Figure 8.

Figure 8.
That's it!
TIP:
Remember that your WordPress Dashboard has now changed and will be using the URL you entered in Step 6.
Resources
For more information on managing your WordPress blogs, please start with the links listed below: