How to put your Rafter K2 Farms website on Hosted In Canada
Your website is made of plain HTML pages, CSS style sheets and pictures, so any Hosted In Canada cPanel (shared) hosting plan can run it. You don’t need WordPress or a database. Follow these steps once, and it takes about 15 minutes.
Before you start
- A web hosting plan with Hosted In Canada (a cPanel or shared hosting plan is plenty). Keep the welcome email they sent you, because it has your login details.
- Your domain rafterk2farms.ca must point to that hosting account. If you registered the domain with Hosted In Canada when you bought the plan, this is already done. If it is registered somewhere else, log in to that company and change the domain’s “nameservers” to the ones in your Hosted In Canada welcome email (or ask Hosted In Canada support for them). It can take up to 24 to 48 hours to take effect.
- Choose which version you want: open index.html in this folder (double-click it) to see all the designs side by side. There are three looks, each made with real photographs or with drawn illustrations.
- Each version comes as one ready-made zip file in the “downloads” folder. Photo versions: rafterk2farms-version-1-photos.zip, rafterk2farms-version-2-photos.zip or rafterk2farms-version-3-photos.zip. Illustrated versions: rafterk2farms-version-1.zip, rafterk2farms-version-2.zip or rafterk2farms-version-3.zip.
Step 1: Log in to cPanel
- Go to https://hostedincanada.com/ and log in to your client area with the details from your welcome email.
- Open your hosting service for rafterk2farms.ca and click the button to log in to cPanel. (Once the domain is pointing at the server, https://rafterk2farms.ca/cpanel also works.)
Step 2: Open the website folder
- In cPanel, find the “Files” section and click “File Manager”.
- On the left, click “public_html”. This is the folder visitors see when they go to rafterk2farms.ca.
- If public_html already has a placeholder page such as index.html, default.html or a “coming soon” page, select it and click “Delete”. Leave the folders “cgi-bin” and “.well-known” alone.
Step 3: Upload the zip file
- With public_html open, click “Upload” in the toolbar at the top.
- Click “Select File” and choose the zip for the version you picked, for example downloads/rafterk2farms-version-1-photos.zip.
- Wait until the bar shows 100% and turns green, then click “Go Back to /home/…/public_html”.
Step 4: Unzip it
- Right-click the zip file you just uploaded and choose “Extract”.
- Make sure the box says /public_html, then click “Extract File(s)” and close the results box.
- Delete the zip file afterwards (right-click and choose Delete). It isn’t needed anymore.
- Check that public_html now holds index.html, our-farm.html, yak-meat.html, trapping.html, contact.html (photo versions also have credits.html) and the folders css, images and js. If they ended up inside another folder instead, open that folder, click “Select All”, click “Move” and type /public_html.
Step 5: See it live
- Open https://rafterk2farms.ca in your browser. If you still see an old page, press Ctrl+F5 (or Cmd+Shift+R on a Mac) to refresh.
- Try the menu, every page and the phone view (open it on your phone too).
Turn on the padlock (https)
- Most Hosted In Canada cPanel plans add a free security certificate automatically. If the browser says “Not secure”, go to cPanel, then “SSL/TLS Status”, tick rafterk2farms.ca and click “Run AutoSSL”. It can take a few minutes.
Create the info@rafterk2farms.ca mailbox
- The whole website sends people to info@rafterk2farms.ca, so make sure that address exists.
- In cPanel, open “Email Accounts”, click “Create”, type info as the username, choose a strong password and click “Create”.
- Read your mail at https://rafterk2farms.ca/webmail, or click “Connect Devices” beside the account for phone and Outlook settings. To have the mail copied to an address you already use, open “Forwarders” and add a forwarder for info@rafterk2farms.ca.
Optional: preview all three versions online first
- Upload downloads/rafterk2farms-all-versions.zip instead. In File Manager, create a new folder inside public_html called preview, open it, then upload and extract the zip there.
- Then visit https://rafterk2farms.ca/preview/ to see all three designs on the real server. When you have decided, delete the preview folder and follow Steps 3 and 4 with the version you chose.
Another way: upload with FileZilla (FTP)
- Install the free FileZilla program. Host: ftp.rafterk2farms.ca (or the server name in your welcome email). Username and password: your cPanel login. Port: 21.
- On the right side, open public_html. On the left side, open the version folder you chose (for example version-1-photos) and drag everything inside it to the right.
Changing words or pictures later
- Words: open the .html page in Notepad (right-click, then Open with), change the text between the tags, save, and upload that one file to public_html again, choosing to replace the old one.
- Pictures: the easiest way is to give your own photo exactly the same name as the one it replaces (for example yak-grazing.jpg) and upload it into the images folder, replacing the old one. Landscape-shaped (wide) photos work best.
- The photo versions use free photographs from Wikimedia Commons. Their licences ask that the photographers are credited, which the “Photo credits” page (linked at the bottom of every page) does. When you replace a photo with your own, you can delete its line from credits.html.
- Colours and fonts live in css/style.css. The main colours are listed at the top of that file.
- The contact form opens the visitor’s own email program with a message already addressed to info@rafterk2farms.ca, so it needs no extra setup on the server.
Need help?
- Hosted In Canada’s support team can help with logins, domains, email and certificates. Tell them it is a “static HTML website in public_html”.