Web Hosting: SiteGround (cPanel)

在Hosting上的作業不是每天操作的,我也常常會忘記程序,之前總是一一手寫在筆記本了,喜歡每次看著筆記操作這些過程,就把筆記記錄在此嚕!

October 18, 2018

How to delete a subdomain site?

Step 1: Delete the WordPress installation (This will delete all the files, database, and database user.

Tutorial: https://www.siteground.com/tutorials/cpanel/softaculous-remove-scripts/

  • Autoinstallers
  • Softaculous
  • Choose <All Installations> button (looks like a wooden box)
  • Click the red REMOVE (X) button
  • Click Remove Installation to delete all the files, database and database user.

Step 2: Delete the folders from File Manger

Step 3: Delete the Subdomain

It will still stay in My Account for 24 hours.

 

March 23, 2018

How to create a subdomain in cPanel?

  1. cPanel > DOMAINS > Subdomains
    • Create a Subdomain >
    • Subdomain: xxxxx.joyofliving.site
    • Document Root: /public_html/xxxxx
    • Create
    • URL: 403 Forbidden Error
  2. cPanel > SECURITY >Let’s Encrypt 
    • Install new Let’s Encrypt Certificate > Domain: xxxxx.joyofliving.site >
    • Let’s Encrypt SSL Type: Let’s Encrypt SSL
    • Install
    • Successfully Installed SSL <OK>
    • Under Select an Action >
      • HTTPS Enforce [on]
      • External Links Rewrite [on]
      • OK
    • URL: still shown 403 Forbidden Error, but got https padlock
  3. cPanel > AUTOINSTALLERS/WordPress or WORDPRESS TOOLS/WordPress Installer (Version 4.9.8)
    • Install Now
    • Choose Protocol: https://
    • Choose Domain: xxxxx.joyofliving.site >
    • Site Settings:
      • Site Name: xxxxx
      • Site Description: xxxxx
    • Admin Account: 
      • Amin Username: xxxxx
      • Admin Password: xxxxx
      • Admin Email: xxxxx 
    • Install
    • Installed Successfully
  4. ddddd