Sunday, January 29, 2017

OUCreate. Turn on https.

So, you have created a domain/subdomain at the OU Create project (or in some other webspace you control). To use that webspace to host Twitter widget files that you will display in Canvas, you need https (secure http), not just http, for your file addresses. So, you need to turn on the https service for the subdomain you want to use for your Twitter widgets.

This means adding an SSL certificate to the subdomain, and there is a helpful tutorial here from Reclaim Hosting about how to do that. Just follow their instructions to turn on the SSL certificate for your subdomain.

Next, you need to test to make sure the https certificate is working by creating a file in your subdomain and viewing that file over a secure connection with an https address. And, yes, for this you will actually be creating something that you can see on the web... the fun begins!

Here's how to create a file and test to make sure the https address is working; this is also the exact same procedure you will follow to setting up your Twitter widget pages, so it's good practice for things to come:

1. Find the File Manager. Go to the cPanel home. Scroll down to find the File Manager, and click on that.

2. Go into the public_html space. You should see a public_html listing in the file directory; click on the public_html to open up that area.

3. Find your subdomain. Inside the public_html listing, you should see the name of the subdomain that you are using for this workshop. It should be the subdomain that you configured for https above. Click on that subdomain name to open it up. My subdomain is called "widgets" as you can see:

4. Create a file. Now that you are inside your subdomain file area, you are going to create a file in there. Click on +File to create a file:

5. Name the file. For this exercise, name the file testing.html. As you can see, I named my subdomain "widgets," so cPanel is creating the file named testing.html inside the /public_html/widgets file space.

6. Edit the file. Click to highlight the file name (the row will turn blue), and then click on Edit (not Code Edit, not HTML Edit). 

Type something like "Hello World" and then Save Changes and then Close.

7. View your file online. Now, you should be able to see your file on the Internet! Fill in the blanks as needed:


For example:

8. Check the https. Now replace the http with https (everything else stays the same), and see if the address works.


You should see the file with http and also with https. Being able to see a file with an https address is the key to displaying your content inside Canvas! If you were able to get through these steps and view an https file that you created, you are good to go.

No comments:

Post a Comment