Note: These instructions were updated on March 21st 2018. It’s important you read through the new process.
Publishing your site, or having it go live, is really a matter of "domain mapping". First, you'll need a domain or URL where you want your site to live (for example: mysite.ubc.ca or mysite.com). Then you will need an SSL certificate. Then you'll need to have your domain point to the IP address of our servers. And finally, you’ll need to tell WordPress to load from your new URL.
Here's the step by step process if you plan to use a UBC URL (such as mysite.ubc.ca):
- First, you need to make a subdomain request from UBC IT. The instructions can be found here.
*IMPORTANT When you submit the request, please specify that your website is hosted with CTLT and our IP address is 18.104.22.168 and expect at least two business days for this to happen.
Second, we need an SSL Certificate
As of March 21st 2018 all new domain-mapped sites on UBC CMS need to run on HTTPS. This means that your domain will need an SSL certificate on our platform. This is due to several browser vendors now marking sites as ‘not secure’ if they are using HTTP under certain circumstances and, as of June 2018, they will mark ALL sites that use HTTP as not secure.
UBC CMS already contains several wildcard and standalone SSL Certificates. If the domain you wish to use is of the form <something>.ubc.ca or <something>.<something>.ubc.ca then there is a good chance that we already have an SSL certificate for you to use.
If you are unsure, please contact us.
If you know a new certificate is needed
If you know that your UBC subdomain is currently not covered by the certificates that we have on UBC CMS then please send an email to email@example.com and say which URL you wish to to have a certificate for. That URL will *already need to be pointed* at UBC CMS in order for us to be able to acquire an SSL Certificate for you.
If it’s a non UBC domain (i.e. yourdomain.com rather than yourdomain.ubc.ca) then you will need to purchase a certificate from https://www.gandi.net/en/security (you need the ‘Standard’ certificate) and then you will need to provide to us (via WorkSpace) the Certificate and the private key used to generate that certificate.
You can also contact UBC security at security[a]ubc.ca for requests or questions about certificates.
*** Please note that you will need to provide the "key" with the certificate so do not lose or delete this file.
Once a certificate is on CMS
We’re nearly there. You have your subdomain registered, you have your SSL certificate installed onto UBC CMS, you have your content on your site ready to go.
- Next, log in to your WordPress Dashboard and navigate to Tools > Domain Mapping and put in your requested domain (such as mysite.ubc.ca) to "Add new domain" and make sure that "Primary domain for this blog" is unchecked.
- Then you may just need to wait to hear back from UBC IT when your requested domain points successfully to our server.
- Then you can log in to the WordPress Dashboard and go back to Domain Mapping and set your requested URL to be the primary domain.
Note: If you are domain mapping your site. Please ensure that the URL does not contain an underscore.
is bad but
will be fine.
Also, if you have permissions to clone sites on UBC CMS do not use a period in the sites.olt.ubc.ca site name that you choose.
is bad but
will be fine.