Contents
How do I make a Cookieless subdomain?
2. Creating a Subdomain
- Step 1: Create a Subdomain. Go to your site’s control panel, choose Subdomains.
- Step 2: Point Your Subdomain to The Main Domain in CNAME. Now, you need to point the new subdomain to your site’s main domain.
- Step 3: Point Your Subdomain to The WordPress Directory.
How do I set up a subdomain?
How to create a new DNS subdomain
- Log in to cPanel with the details your host provided when you opened the account.
- Scroll to the Domains section and click Subdomains.
- Type the name of the new subdomain you want to create in the box.
- Select the domain for which you want to create a subdomain.
Where do you put a subdomain?
To set up a subdomain for a site division or a separate site:
- Go to Websites & Domains.
- Click Add Subdomain.
- Specify the following: In the Subdomain name box, type the portion of address that will be added to the domain name of your main site.
- Click OK.
What is an example of subdomain?
A subdomain is an additional part to your main domain name. Subdomains are created to organize and navigate to different sections of your website. In this example, ‘store’ is the subdomain, ‘yourwebsite’ is the primary domain and ‘.com’ is the top level domain (TLD).
What is a Cookieless domain?
Any website needs a cookie-less domain. This (sub)domain is typically called “static”. It is used to serve Javascript, CSS, images and other static content. This argument may be counter intuitive, since cookies are small and you would not expect them to have a significant impact.
Why would you use a subdomain?
A subdomain lets you separate portions of your site that are extensive enough to warrant their own dedicated hierarchy without going through all of the trouble of setting up a new site with a new domain or confusing visitors with a completely different root domain.
How many subdomain levels can you have?
Each domain name can have up to 500 subdomains. You can also add multiple levels of subdomains, such as info.blog.yoursite.com. A subdomain can be up to 255 characters long, but if you have multiple levels in your subdomain, each level can only be 63 characters long.
What does it mean to have cookieless subdomain?
Instead, you can consider a cookieless subdomain is a term to describe data transferring from one point to another (in this case, data movement from subdomain to domain) has no cookies attached. Indirectly, this boost the loading speed of your domain.
What does it mean to set up a cookie less domain?
When things like YSlow and Page Speed tell you to set up cookie-less domains, what they actually mean is serve media from a domain where you won’t be setting any, or have not set any (globally) in the past.
To have a cookieless domain you have to make sure your application running on that domain doesn’t set any cookies. This usually means not having logins, not having google analytics, not having sessions – i.e just serving media and nothing else. Obviously this depends on your setup.
How to clean serve static content from a cookieless domain?
To clean the static asset’s cookies, you only need to enable the Strip Cookies feature on KeyCDN. This setting will automatically strip all cookies and prevent further latency. As a result, your site will load faster and you will not get the “Serve Static Content from a Cookieless Domain” anymore. 2. Creating a Subdomain