Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | techwiki:host_godaddy [2023/06/29 15:25] (current) – [SSL Guide] ying | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Intro to Host Godaddy ====== | ||
+ | * What is a " | ||
+ | * Ok, a web host is a online network drive with partial function of desktop OS | ||
+ | * these common functions includes command console application, | ||
+ | |||
+ | * What is "web system" | ||
+ | * Ok, a so-called "web application" | ||
+ | * so technically speaking, " | ||
+ | |||
+ | * What is " | ||
+ | * those " | ||
+ | * however, wix system will provide all those features like wordpress, forum with extra feature extension fee. | ||
+ | |||
+ | * What is simple difference between " | ||
+ | * like " | ||
+ | * while like " | ||
+ | |||
+ | ====== Godaddy - Domain setting ====== | ||
+ | |||
+ | * use Godaddy' | ||
+ | * basically, just change the nameservers to wix DNS server address in your domain DNS setting | ||
+ | * ref: https:// | ||
+ | |||
+ | * preview godaddy host without a domain | ||
+ | * if your IP is 192.168.1.1 (check left side in your host cpanel page) | ||
+ | * and your cpanel login " | ||
+ | * then you would visit your host root webpage dir at “192.168.1.1/ | ||
+ | * ref: http:// | ||
+ | |||
+ | * redirect a domain to another website | ||
+ | * Reason: | ||
+ | * build-in-progress domain directing to current active site (302 redirect setup) | ||
+ | * old-closing-site domain directing to the new site. (301 redirect setup) | ||
+ | * Redirect option: | ||
+ | * redirect as forward, just a url jump | ||
+ | * redirect with masking, which pretend redirected site as its own site its domain name | ||
+ | * ref: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | * offsite DNS hosting | ||
+ | * ref: https:// | ||
+ | * basic use domain registered at other place on godaddy | ||
+ | * steps | ||
+ | - Domain Manager Page: DNS menu > Add DNS Hosting | ||
+ | - put the domain name, then it shows nameservers, | ||
+ | - then, that domain will show as available on godaddy domain section, and ready for related domain settings | ||
+ | |||
+ | * subdomain creation manually: | ||
+ | * https:// | ||
+ | |||
+ | * domain transfer into godaddy | ||
+ | * Account name > (drop down menu) Go Shop Godaddy.com; | ||
+ | * in top main, click Domain > (sub menu) Domain Transfer tool | ||
+ | * search the old domain name (you need to unlock old domain on old reg site and get EPP code) | ||
+ | * do the step to initial transfer | ||
+ | * Check result: go My Account > Domains > (sub menu) Transfer to check result | ||
+ | ====== Godaddy cPanel Email and Login ====== | ||
+ | |||
+ | **webmail access in browser** | ||
+ | * the cPanel email login link is: http:// | ||
+ | * if you have not add ssl to your host and domain, then click add Exception and understand risk and proceed to access it. | ||
+ | |||
+ | **Email Client on Desktop** | ||
+ | * the best and free email client is: https:// | ||
+ | * as it auto detect the email income and outgoing server setting from dns, and use IMAP as access method | ||
+ | |||
+ | **Mobile Client** | ||
+ | * record down your income server in cPanel email configure page, | ||
+ | * and choose Other type email in email account setup option, and use IMAP access method, then type all the information in setup process | ||
+ | * Note: "user name", " | ||
+ | |||
+ | In addition to cPanel email, godaddy also have paid pro email and office365 email, go shop and find office365, the top tab will show price for each of the options: | ||
+ | * godaddy pro email: https:// | ||
+ | * office365 email: https:// | ||
+ | |||
+ | For office365 email, since each main email cost money, you may add alias for main email like info@ or contact@ to catch email to main email for free: https:// | ||
+ | ====== some notes before setup SSL ====== | ||
+ | |||
+ | **if you install wordpress with http home link type** | ||
+ | * read below first, you may understand why this process may be your option before setup SSL | ||
+ | * once you setup purchased SSL, you may have to update wordpress all links from old http to https | ||
+ | * so before SSL setup, use installatron or whatever to backup http version of current wordpress | ||
+ | * delete the wordpress installation on server | ||
+ | * install SSL as process below | ||
+ | * restore the installatron backup to new location, and choose https link of the site domain | ||
+ | * or install fresh wordpress with https link and restore old backup content into new wordpress | ||
+ | * that way, most wordpress default link will be updated in new site with https | ||
+ | |||
+ | **alternative, | ||
+ | * this method, SSL update process below basically use your 3rd party signed certificate instead of your self-sign certificate | ||
+ | * while you develop the site, just add exception to your self sign certificate to continue development process | ||
+ | * once later update the new SSL, there is no need to update https links, as it is https link at start, just you need to tell browser to allow you continue visit site | ||
+ | * drawback, while if you build site for someone else, they also need to add exception to browser when they visit the site before you use purchased ssl | ||
+ | |||
+ | **or, just purchase the SSL before you do any site** | ||
+ | * that way, you dont need to do any update process as above 2 method, | ||
+ | * but you lose the certificate time as you develop the site and not show to public | ||
+ | * if your site take half year to build, then you waste half year of certificate time for your purchased ssl certificate | ||
+ | |||
+ | now, you can read below process to decide which is your best workflow for SSL update | ||
+ | |||
+ | ====== SSL Guide ====== | ||
+ | |||
+ | * you can buy ssl just for primary domain, you can also buy ssl just for one of secondary/ | ||
+ | * for single domain case (updated 2022) (primary or addon) | ||
+ | - buy ssl | ||
+ | - go additional product to setup | ||
+ | - enter domain name for ssl (domain can be domain managed by godaddy or other party, but you need admin email for that domain) | ||
+ | - choose ssl issuer, both is fine. just go for first option and agree | ||
+ | - (note, if your domain and hosting both under godaddy, seems, it is auto verified and you can directly go Certificate tab under SSL to see it, refresh in 1-2min, thus you may not need the email steps if you see issued, just go step cPanel) | ||
+ | - choose verification method: admin@yourdomain.com and txt method (email is very useful, since you will get email instruction, | ||
+ | - go email, (normally within 10min, you can use resend in ssl page to send again, normally into your spam box called verify) | ||
+ | - click the email inside to confirm, go ssl page to refresh (it will show verification complete), within 2-3 min, below will show status issued | ||
+ | - go cPanel > SSL/TLS | ||
+ | - under " | ||
+ | * under " | ||
+ | * browse certificate, | ||
+ | - ssl done, you should see lock when browse site with https | ||
+ | * for single domain case (old) (primary or addon) | ||
+ | - buy ssl | ||
+ | - go additional product to setup | ||
+ | - enter domain name for ssl | ||
+ | - in next page, you will ask to save private key(will be used later) and csr files. (important to save) | ||
+ | - choose verification method: admin@yourdomain.com and txt method (email is very useful, since you will get email instruction, | ||
+ | - choose ssl issuer, both is fine. just go for first option and agree | ||
+ | - (at right now), you will go email box to check the instruction, | ||
+ | * it will show your a link, go to that link. and click yes to prove you are owner of the domain. | ||
+ | - back to the ssl setup process, | ||
+ | - wait for one day for the certificate to issue (normally within 10 min if everything setup in godaddy) | ||
+ | - go product > ssl > manage: | ||
+ | * under download certificate > choose server type (for godaddy linux, it is apache server app) | ||
+ | * it is a zip file with (random.crt, | ||
+ | - to install certificate (.crt) into cPanel | ||
+ | - go cPanel > SSL/TLS | ||
+ | - under " | ||
+ | - under " | ||
+ | - once uploaded, back, then back to SSL/TLS page | ||
+ | - under " | ||
+ | * under " | ||
+ | * browse certificate, | ||
+ | - ssl done, you should see lock when browse site with https | ||
+ | |||
+ | **Make sure, wordpress is redirectly all to https** | ||
+ | * wordpress > setting: wp address + site address, add https not http | ||
+ | * then use plugin: really simple ssl to redirect all | ||
+ | * make sure all content that has been hard html/css coded update to https as well | ||
+ | * during coding, < | ||
+ | // | ||
+ | instead of | ||
+ | http:// | ||
+ | * if you see warning of "part of site is not secure", | ||
+ | |||
+ | ====== Multiple SSL Guide ====== | ||
+ | |||
+ | * to protect multiple SSL, one solution is buy ssl for each, another solution is buy " | ||
+ | * there are | ||
+ | - " | ||
+ | * (SAN = Subject Alternative Name certificate ) | ||
+ | * (UCC = Unified Communication Certificate) | ||
+ | * ref: https:// | ||
+ | * ref: https:// | ||
+ | * requires: all site hosting is on same hosting account (same hosting), | ||
+ | * note: all sites will be showing in certificates; | ||
+ | - wildcard ssl | ||
+ | * as name sames, it is for secondary domains only. must be same common name for its domains. | ||
+ | |||
+ | * note: wordpress setting sets the "site address url", so that www or non-www will forward address to all incoming, www or non-www to same setted url address, so that one should be the domain in multiple certificate | ||
+ | |||
+ | UCC SSL setup: | ||
+ | - ref: | ||
+ | * step: https:// | ||
+ | * https:// | ||
+ | - first, make sure your domain DNS server is set to godaddy, (especially those domain transferred from other site) | ||
+ | * if your DNS server is not set to godaddy, then those domain may use email verfiy method in mentioned later below | ||
+ | * as if DNS server is under godaddy, verification process should be automatically done in later step. | ||
+ | - after purchase, add rest domain to primary domain as addon domain | ||
+ | - create admin@ each domain email at cPanel | ||
+ | - click on UCC ssl setup button | ||
+ | - choose the primary domain for the SSL, (without www, just domain.com like that) | ||
+ | - then, add rest domain to the list, | ||
+ | * note: (update: 2022.02 seems put either www or non-www, both format url have lock on current godaddy case, only one format put there is enough seems?!) make sure you use the format you site will use, like www.domain.com or domain.com format, as which you will use in wordpress adddress, then forward both www or w.o to the same format | ||
+ | * as rest addition domain, take only www or w.o www as different site, so if you want to use both www and w.o www for the site address, you need to add both, | ||
+ | * however, the primary domain will auto secure both www and w.o www format, just rest addition domain only take 1 for each slot. | ||
+ | * so if you just want to use www.domain.com, | ||
+ | - choose either issuer, or just go with 1st one. | ||
+ | - go next, the verify ownership step, (if your domain DNS is under godaddy, it is automatically, | ||
+ | - next step, install certificate to cPanel (note, if you domain is fully control under godaddy, this step should also be automatically done, and go cPanel you should see side panel, the lock is on for your primary domain), if not, then you need to follow godaddy manual install step for other domain situation: | ||
+ | - check this, https:// | ||
+ | - setup step: https:// | ||
+ | - verify step: https:// | ||
+ | - download step: https:// | ||
+ | - install step: https:// | ||
+ | - (Final) to check your installed SSL on your cPanel, go cPanel > SSL : bottom link " | ||
+ | * (Specially note: it seems even I put www.mydomain.com for addition domain of ucc ssl, mydomain.com also has lock, seems godaddy now offer free coverage for both www and non www now. lol) | ||
+ | - (Final extra) it seems only main domain ssl is auto installed, the rest domain need one manual extra click | ||
+ | * go " | ||
+ | * once loaded, click install certification button at bottom, then it is done for that domain. (seems only defined domain name format is secured, if I put www.TheDomain.com, | ||
+ | |||
+ | ====== Fix some content not secure issue after SSL update ====== | ||
+ | |||
+ | Fix parts of content for page not secure after new ssl install | ||
+ | * for wordpress site case, just install a plugin to auto fix it | ||
+ | * Really Simple SSL: https:// | ||
+ | * WP Force SSL: https:// | ||
+ | |||
+ | if you like to manual fix, go firefox console, you should see the list of content that is not secure | ||
+ | * check list | ||
+ | - your custom css, content inside should change to https link | ||
+ | - image, css, js linked from other non ssl site, should move to your own site | ||
+ | - ref: https:// | ||
+ | - [better backup first before this step] https:// | ||
+ | * elementor > tool > replace : http:// | ||
+ | ====== End or Remove Product ====== | ||
+ | |||
+ | * If you don't want to use the product and cancel the payment | ||
+ | * go manage of domain or hosting, click cancel or remove product. | ||
+ | * you will get a email on owner' | ||
+ | |||
+ | ====== Problem and Solution ====== | ||
+ | |||
+ | ===== Contact Form 7 sending and local Office 365 Email receiving issue===== | ||
+ | |||
+ | * Problem: contact form 7 can send to other email box, but not its own hosting Office 365 email | ||
+ | * Solution: | ||
+ | - go cPanel, Email Routing/ | ||
+ | - choose the @domain for the email address | ||
+ | - change from local mail exchange (default for godaddy free cPanel email) to remote mail exchange (since office 365 is remote) | ||
+ | |||
+ | ===== Contact Form 7 email or email in general from wordpress not sending with external DNS===== | ||
+ | |||
+ | * Problem: most time, wordpress on godaddy should work out of box for email, but sometimes when DNS is setup on 3rd party domain registrar, the mx record detection is not that automatically on server side | ||
+ | * Solution: instead use wordpress auto mail server detection, use "WP Mail SMTP" plugin to directly setup mail routing | ||
+ | - install WP Mail SMTP plugin, | ||
+ | - in setting page, use a email account already in your email server as sender, for " | ||
+ | - in Mailer, choose last one, other SMTP, (just like mailbox setup in your phone or outlook) | ||
+ | - enter standard email server info you got (normally in your cPanel email account first mail) | ||
+ | - SMTP host, " | ||
+ | - auto TLS on and authentication on, user name and pass is your cPanel email username and pass | ||
+ | - that should make your wordpress email function works | ||
+ | ===== Force HTTPS ===== | ||
+ | |||
+ | * after bought the ssl lock, then better force all http to https: | ||
+ | * for self built site: https:// | ||
+ | * for all: https:// | ||
+ | * notes: htacess may different for other hosting providers | ||
+ | |||
+ | ===== Mail RoundCube error Connection to storage server failed ===== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * basically, check your host provider |