Subdomains are taken as part of a domain for web storage? Or are taken as different domains? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Subdomains are taken as part of a domain for web storage? Or are taken as different domains?

13th Jul 2018, 9:52 AM
Pablo Andrés López Muñoz
Pablo Andrés López Muñoz - avatar
3 Answers
+ 1
There are 2 types of subdomains, abs.website.com or website.com/abc/ formats. For SEO, Subdomain, abs.website.com could consider as different domain from website.com with different content and designs. Whereas subdomain website.com/abs should consider as part of the website.com domain.
13th Jul 2018, 10:47 AM
Calviղ
Calviղ - avatar
+ 4
Hello, Pablo Andrés López Muñoz ! Subdomain (subdomain) is a domain that is part of a higher level domain (even subdomains are called domains of 3rd, 4th, etc. levels). The only domains that are not also subdomains are root domains (domain zones). For example: api.sololearn.com is a subdomain of the second-level domain of sololearn.com and sololearn.com, in turn, is a subdomain of the root domain (top-level domain, zone) Subdomains are often used by organizations to create unique site names for their departments or services related to the organization.
13th Jul 2018, 10:01 AM
Alexander Sokolov
Alexander Sokolov - avatar
0
But for web storage API, there are considered as different domains? Or I can share client side stored data from a domain.com and a subdomain.domain.com?
13th Jul 2018, 6:31 PM
Pablo Andrés López Muñoz
Pablo Andrés López Muñoz - avatar