Creating a Subdomain in GoDaddy with WordPress Hosting

I wanted to create a subdomain for my website so that I could link directly to the content separately. It seems many users have had the same issue and Google for once didn't have a good solution. One user, midinerromifutur,  came up with an answer - BUY ANOTHER WORDPRESS HOSTED SITE. I was almost ready to give up and add-on a site, but I figured it out!

Here's the high level steps to do this:

  1. Create a page in WordPress to forward your subdomain to;
  2. Forward your subdomain in GoDaddy.

These steps assume that you have registered your domain with GoDaddy and have a WordPress site setup.

Here are the steps to do it. I hope it helps!

Create a page in WordPress to forward your subdomain to

I have a WordPress site linked to my GoDaddy account. The following steps may be different if you are using WordPress hosted by a different vendor.

  1. Log into your WordPress account;
  2. In your dashboard, click on Pages > Add New. This will open an Edit Page form;
    1. Enter your target name page name. This will become yourdomain.com/target and will be the URL your subdomain will forward to;
    2. Enter any details or add content .to show on your page;
    3. Publish your page. You should see your URL as the "Permalink" value. Copy this link. You will need it to forward your subdomain.

Your URL is now ready to be forwarded to.

Forward your subdomain in GoDaddy

I followed the steps that I found on GoDaddy's help pages found here.

  1. Log into your GoDaddy account;
  2. Click on the Account icon in the top right corner to open the Account menu;
  3. Click My Products;
  4. In the Domains section, select the DNS button for the domain you want to create the subdomain for;
  5. Navigate to the Forwarding section.
    1. Under SUBDOMAIN, select ADD;
    2. In the SUBDOMAIN textbox, enter your subdomain name i.e. use "target" (omit double quotes) for "target.yourdomain.com";
    3. Beside the http:// dropdown box under the FORWARD TO: section, enter the URL you created above (yourdomain.com/target);
    4. For FORWARD TYPE, click the box for Permanent (301);
    5. For SETTINGS:
      1. If you want your subdomain to show "yourdomain.com/target" when the page is redirected, click the box for "Forward only";
      2. If you want your subdomain to show "target.yourdomain.com" when the page is redirected, click the box for "Forward with masking";
    6. Click the Save button.

Test that your subdomain forwarding works by navigating to http://target.yourdomain.com (where "target" is your subdomain name). This should redirect you to the page you created in WordPress.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.