Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | appwiki:cpanel [2024/01/15 08:04] (current) – [Primary domain, Add-on domain and Sub-domain] ying | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== cPanel guide ====== | ||
+ | |||
+ | ===== ModSecurity ===== | ||
+ | |||
+ | * introduced ModSecurity method to ensure posting site-wide, text submit to server will be check before run | ||
+ | * a 406 error will occur if the text is a bit sensitive | ||
+ | * normally it need to be configured on server side for whitelist | ||
+ | |||
+ | ===== domain pointing ===== | ||
+ | |||
+ | * domain need 15 min to refresh the pointing | ||
+ | * local browser or rounter has around 24 hour to refresh the cache | ||
+ | * brower history and cache need to cleared to update the domain pointing lookup | ||
+ | |||
+ | ===== Primary domain, Add-on domain and Sub-domain ===== | ||
+ | |||
+ | **Primary domain** | ||
+ | * Primary domain is the main domain pointing to your / | ||
+ | * **subdomain**, | ||
+ | |||
+ | **secondary domain** | ||
+ | * A secondary domain functions as an independent entity, with its own email accounts, websites, directory structure, statistics pages, bandwidth, and recording. The only real connection between a primary domain and a secondary domain are the resources and feature limits of a shared service. For example, if your service allows for ten email accounts, you can have five on your primary domain and five on your secondary domain. | ||
+ | |||
+ | **addon domain** (cPanel' | ||
+ | * addon domain is a separate domain point to additional websites, it can be under / | ||
+ | * However, unlike primary, it doesn' | ||
+ | * If you make sure no url link from primary domain to addon domain, the search engines won't find them through primary domain. such as primary_domain.com/ | ||
+ | |||
+ | * ref: | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * addon domain ftp ref: | ||
+ | * http:// | ||
+ | * disable access addon domain from primary domain | ||
+ | * disable from subdomain way access: | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * disable from subfolder way access or just same level folder structure: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | **parked domain** | ||
+ | * parked domain is like alias of primary domain, so always pointing to same primary location | ||
+ | |||
+ | **Alias domains** | ||
+ | * Alias domains display the primary domain' | ||
+ | |||
+ | reference | ||
+ | * https:// | ||
+ | |||
+ | note on godaddy host site: | ||
+ | * Addon Domains are only available for Deluxe and Ultimate cPanel shared hosting accounts. (tested on economy plan, they wont allow more than 0 addon domain) | ||
+ | * however, subdomain are available on all accounts (max 25 on economy plan) | ||
+ | * alias domain is on unlimited on all plans | ||
+ | * more than 10 sites may be slow | ||
+ | * ref | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== cPanel email setting ===== | ||
+ | |||
+ | * change email time to local timezone | ||
+ | |||
+ | {{: | ||