Support / KnowledgeBase

 
Search the KnowledgeBase Search

How can I change the domain name for my WordPress blog?

  • Applies to: (gs)

  • Difficulty: Medium

  • Time needed: 10 minutes

  • Tools needed: AccountCenter access, WordPress administrator access, phpMyAdmin

 
  • Applies to: (gs)
    • Difficulty: Medium
    • Time Needed: 10
    • Tools Required: AccountCenter access, WordPress administrator access, phpMyAdmin

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:

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

  1. Log into your your WordPress Dashboard as an administrator.
  2. Next, click on Settings from the menu, and then General. See Figure 1.


    Figure 1. Click on General to get started.

  3. The two fields we'll change are WordPress Address (URL) and Site Address (URL), see Figure 2.


    Figure 2.

  4. 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.

  5. 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

  1. Access phpMyAdmin for your (gs) Grid-Service. For detailed instructions, please see: Accessing phpMyAdmin for your (gs) Grid-Service.
  2. From the left menu, click on your MySQL database. See Figure 4.

    Figure 4.
    Figure 4.

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

    Figure 5.
    Figure 5.

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

    Figure 6.
    Figure 6.

  5. 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.
    Figure 7.

  6. 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.
    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:


User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue