CloudTech Can Help!
If you're having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can assist you with third-party CMS configuration to keep things running smoothly. For more information on what CloudTech can do for you, please click here.
Overview
This article will show you how to change the domain name for a WordPress site on your GridDV server. In this example, we will make these changes to reflect a move from blog.gs-example.comblog.dv-example.com to just gs-example.comdv-example.com. However, this can be accomplished between any domain or subdomain hosted on your GridDV server, on the same webspace or subscription.
CAUTION:
The steps in this article will NOT move your site files for you! You will need to do this manually. These instructions are designed to help you update WordPress to reflect the correct domain name after you have moved your files.
We advise keeping a copy of your WordPress installation in both target folders while you are making this switch, so you don't accidentally lock yourself out of WordPress while attempting to make any changes.
Requirements
Before you start, you will need:
- WordPress installed and your WordPress administrator user login credentials handy.
For information on using our 1-Click installer, please see: Installing WordPress using the 1-Click Application Tool. - WordPress installed and your WordPress administrator user login credentials handy.
For information on installing an application on your DV, please see: Using Application Vault.
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.
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.comdv-example.com) does not exist as a folder in the domains
have content in its directory. If it does, you can use the File ManagerFile Manager tool or FTP to rename it.
Via WordPress Dashboard
- After moving your site files (if necessary), log into your your WordPress Dashboard as an administrator.
- Next, click on Settings from the menu, and then General.
Click on General to get started. - The two fields we'll change are WordPress Address (URL) and Site Address (URL).
- Enter the URL you'd like to use. For this example, we'll change the two fields to http://gs-example.comhttp://dv-example.com.
- Scroll down the page and click on the Save Changes button.
-
Be sure that you rename the folder to the new URL in FTP or the File Manager.
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 Grid. For detailed instructions, please see: Accessing phpMyAdmin for your Grid.
- From the left menu, click on your MySQL database.
- Also from the left menu, select wp-options.
- Click on the pencil icon to edit the siteurl and home rows in the wp_options table.
- 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.
- Access phpMyAdmin via your Control Panel. For instructions, please see: Accessing phpMyAdmin for your DV server.
- Click on the MySQL database for your WordPress blog. This opens phpMyAdmin in a new browser window or tab, depending on your browser preferences.
- Click on wp-options.
- Click on Edit on the line for siteurl. Repeat this process for the home row, also found in the wp_options table.
- Enter your new blog domain name and click the Go button. For this example, we are changing the domain from http://blog.dv-example.com to http://dv-example.com.
- Repeat this process for the home row, also found in the wp_options table.
-
Be sure that you rename the folder to the new URL in FTP or the File Manager. 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:
Comments