User Tools

Site Tools


getting_started:creating_a_subdomain_for_a_class

Using a Subdomain or a Subdirectory

What's the difference? The way the address appears: Subdomain - http://mystuff.agnesdumond.agnesscott.org Subdirectory - http://agnesdumond.agnesscott.org/mystuff

Creating a Subdomain

  1. Log into your account to get to the cPanel
  2. Scroll down to the Domains section
  3. Click the Subdomains button
  4. Key in the name of your subdomain in the Subdomain text box
  5. Click Create


After a few seconds, you'll get a confirmation message.

Install Wordpress in the Subdomain

If you are going to use Wordpress to manage your new subdomain, you'll need to install it just like you installed Wordpress into your primary domain.

  1. Click the Home link on your page to go back to your cPanel home page
  2. Scroll down and find the Wordpress app on the dashboard
  3. Click the Wordpress icon
  4. Click Install this Application (upper right corner)
  5. Click the down arrow in the Domain drop down box
  6. Click on the subdomain you just created
  7. Delete the word Blog from the Directory (Optional) text box so that Wordpress DOES NOT get installed in a subdirectory called blog

  1. Scroll down to Settings
  2. Change the Administrator Username to something you'll remember
  3. Change the Administrator Password to something you'll remember
  4. You can change the Website Title and Website Tagline at this point
  5. Click Install

The installation of Wordpress in your new subdomain is completely separate from the one in your primary domain. You will need to configure your new dashboard, choose whatever theme you'd like, install any plugins you might need.

Creating a Menu

Once you have created a subdomain site, you'll need to provide links back and forth between your primary domain and your subdomain site. (Wordpress help page on menus.)

Different themes allow different theme options, so it's impossible to give instructions that will apply to any possible site you might set up in Wordpress. These instructions are for the default theme, though these instructions should apply to most any theme you might choose.

By default, if you don't do anything to manage the menu on your site, every time you create a page, it will automatically be added to your navigation bar and sorted alphabetically. Pretty much every Wordpress theme allows you to create at least one custom menu for the site, many of them will allow more than one. The default theme allows you to create 2 different menus–the top primary menu and a secondary menu in the left sidebar.

  1. Go to your Wordpress dashboard
  2. Click Appearance
  3. Click Menus
  4. You can name your menus anything you like but it important to use something that makes sense. For example - Primary Top Menu or Top Level Menu, etc.
  5. Type the name of your menu in the Menu Name text box
  6. Click the Create menu button

Managing menu location

Once you have created your first menu, you'll have a new tab appear, Manage Locations.

  1. Click the Manage Locations tab
  2. Click on that tab
  3. Under Assigned Menu for the Primary Menu, select the name you assigned the menu
  4. Click the Save Changes button

  1. Select the Edit Menus tab.
  2. You can check the box under Menu Settings to Automatically add any top-level pages to this menu or you can leave it unchecked and retain full manual control over the menu.
  3. In the Pages area, under the Most Recent tab, select each item you want added to your menu and select Add to Menu
  4. Under Menu Structure, you can drag the boxes around to reorder them.
  • Pages contains a list of pages you've created.
  • Links are external links to any page on the web.
  • Categories are how you can basically create multiple blogs within one site. When you write a blog post, you can assign it to a category and then you can create pages that show only posts with certain categories, instead of every blog post. (Wordpress help page on categories.)

To add a link in the navigation menu back to your primary domain, which means I need to add a link.

  1. Select Links
  2. Type the URL in the text box to your agnesscott.org home site
  3. In Link Text, key in a name you want to appear in the menu bar

Once I click on add to menu in the step above, there's an item in my new menu. In this case, it's labeled a custom item because it's an external link. Otherwise it would be labeled Page or Category. I can click on the small arrow next to the label to edit the URL or label or to delete the item.

getting_started/creating_a_subdomain_for_a_class.txt · Last modified: 2015/08/03 19:39 by laneta