Subdomains
Wordpress has been set up in multi-site mode which allows for multiple sites to be created under the same installation. In order to create a subdomain site you need to set up the site in Plesk as well as in Wordpress.
Note
The following instructions are written for bridgeschool.org, but the same steps should be used if creating subdomains on bridgeschool2.org as it has also been set up as a Wordpress multisite installation
Plesk
To make a subdomain site, you'll need to first set up the domain in Plesk. Unlike setting up other sites, if you're hosting multiple sites off a single domain, you only need to create an alias domain for every subdomain site. To create an alias:
- Login to Plesk as an admin user
- Click Subscriptions in the left navigation
- Click on the domain you want to create a subdomain for (e.g. if you want to create mydomain.bridgeschool.org, select bridgeschool.org)
- Above all the listed sites, click the button to create an alias.
- Enter the subdomian you want to create. Using our example above, enter mydomain.bridgeschool.org
- Make sure tha options for mail and for 301 are NOT checked.
- Create the alias.
Wordpress
Once the alias is created, you can create the subdomain in Wordpress.
Login into the admin panel for the Wordpress environment that you want to create the subdomain for (e.g. http://bridgeschool.org/wp-admin). Make sure you're logging in as a super admin user. Once logged in, navigate to the Sites admin panel and create a new site.
Warning
Make sure you select to create the site on a subdomain, not in a folder.
Users
After you create the site in Wordpress, you'll notice that a new user has been created for that site if you check the site's users. For consistency, delete the automatically created user and instead add the bridgeschool user as an administrator for the site.
Site management
Once the site is created and the bridgeschool user has been added, you should be able to visit the site or log into that site's particular admin panel (e.g. cvi.bridgeschool.org/wp-admin) to do site specific administration (setting theme, adding content, etc.).
Note
Note that themes and plugins will have to be installed in the main Network admin panel and then activated by a network admin (i.e. superuser) for use on the actual sites. Once activated, you can enable the theme or plugin in the admin panel of the individual site(s).