Skip to main content
26 votes

Are website subdomains that start with "www." and those which do not start with "www." one and the same thing?

They aren't necessarily the same, but the convention is to configure them to work that way. But it's just a convention, and there are sites where it does make a difference.
A. L. Flanagan's user avatar
23 votes
Accepted

Can I use different nameservers for different subdomains?

Yes, You can. you will have to add the NS records for the subdomain in the DNS Manager for your TLD (Top Level Domain). For Example: In DNS Manager for TLD add NS records Like. bla.example.com. ...
Amarjit Singh's user avatar
22 votes
Accepted

Why do browsers know to lookup the `www` record if DNS query for @ gets NXDOMAIN?

Browsers generally have heuristics built in to add missing www. from domain names, but it isn't something you should rely on: Browsers typically have a setting to turn off this "www fix up."...
Stephen Ostermiller's user avatar
19 votes
Accepted

Are website subdomains that start with "www." and those which do not start with "www." one and the same thing?

Subdomains named www (for World Wide Web) are not special compared to other subdomains. That is, there is no mechanical reason for a domain to be named www.example.com instead of hello.example.com. ...
Jasmijn's user avatar
  • 306
9 votes

Are website subdomains that start with "www." and those which do not start with "www." one and the same thing?

This depends how it is set up in DNS. You will likely find that www is a CNAME (an alias) of the main domain - especially on a cpanel server. But this is only convention, it is a subdomain just like ...
Steve's user avatar
  • 8,575
8 votes

Are website subdomains that start with "www." and those which do not start with "www." one and the same thing?

To add to existing answers, a large (and recent) contributor to this confusion is Google Chrome's series of decisions to "simplify" the address bar, which results in hiding the www. prefix ...
ᴍᴇʜᴏᴠ's user avatar
6 votes
Accepted

Are multiple consecutive dots allowed in a domain name?

If I am reading the RFC correctly, labels (the parts in between the dots) in a domain name cannot be empty because the empty label is reserved: Each node has a label, which is zero to 63 octets in ...
Maximillian Laumeister's user avatar
5 votes

Creating an A record and then a CNAME to point a subdomain to a different server gives an error message

A and CNAME both are types of DNS records, that can be applied to a domain name. But they are mutually exclusive:[1] A resolves a domain name query to an IP address, CNAME resolves it to an other ...
x a's user avatar
  • 151
5 votes
Accepted

Making WWW. work for subdomain with no hosting?

www.give.example.com is exactly like give.example.com in the DNS, but they are separate names, so once you put a record for give.example.com that says nothing for www.give.example.com (except in cases ...
Patrick Mevzek's user avatar
5 votes

How can I make a URL on one domain "front" content from another domain?

This type of indirection is called a reverse proxy setup. To reverse proxy in Apache2, use the ProxyPass directive in your config for www.example.com: ProxyPass "/" "http://name....
Maximillian Laumeister's user avatar
5 votes

Are website subdomains that start with "www." and those which do not start with "www." one and the same thing?

As others have said, it's conventional to make them equivalent, as a convenience to users. But for very popular web sites they're often not implemented the same way in DNS. Large sites generally use a ...
Barmar's user avatar
  • 151
4 votes
Accepted

How to get multiple subdomains within a domain

There are really two questions here, since "paying for a domain" really involves both registering the domain and hosting the domain (and any subdomains). As to the first question, the registrar will ...
WebElaine's user avatar
  • 1,930
4 votes
Accepted

Should I use stacked subdomains (sub-subdomains, sub-sub-subdomains, …)?

UPDATED FOLLOWING CLARIFICATION I suspect that it is simply for user readability - a domain breadcrumb trail if you like. While I believe it is technically okay, I agree it is a very odd choice and ...
TBB's user avatar
  • 456
4 votes

Could it be good for SEO to use keyword rich domains under the .forsale TLD?

I think brand matters even if you're creating that kind of website. What percentage of people are going to buy from that kind of domain? I don't think it will be many. It's not easy to remember ...
Group Of Oceninfo's user avatar
4 votes

Transfer current Google Search Console property with data to new one

You should be able to also add and verify the Domain Property too. You should also keep the verified prefix url property for linking to Google Analytics, if you are wanting to do that. If you do ...
Bronwyn V's user avatar
  • 3,443
4 votes
Accepted

Display custom domain in search results rather than wordpress.com subdomain

Google always shows the actual URL for your site and never uses alternate domains. If you want to show your custom domain in the Google Search results, you have to use that domain for your site. ...
Stephen Ostermiller's user avatar
4 votes
Accepted

"URL not in property" when I submit a removal request for an old subdomain's URLs to Google Search Console

The Search Console doc mention two types of properties, URL-prefix and domain. This seems to be because Google doesn't recognize your subdomain, which according to your comment can be fixed by adding ...
Martheen's user avatar
  • 156
4 votes

Manage multiple subdomain on a different nameserver?

I figured it out, all you have to do is add records like these on your TLD, as the original question suggested: internal.example.com. 1799 IN NS ns1.second-nameserver.org. internal.example.com. ...
roee klinger's user avatar
4 votes
Accepted

Prepending "www." to a subdomain shows the content of main domain rather than the subdomain, is this a DNS or hosting problem?

The problem is the hosting. DNS's one job is pointing names to IP addresses. You say that everything points to a single IP address, so DNS is doing its job correctly. From what you describe, the DNS ...
Stephen Ostermiller's user avatar
4 votes

How to remove a deleted subdomain website from Google Search?

To simplify things, you'll want to start by making sure the DNS entry (A or CNAME) for your subdomain is deleted, which basically deletes the subdomain from your domain name. This will ensure that no ...
Maximillian Laumeister's user avatar
3 votes
Accepted

Why in the modern world I would need my .com website to also have www subdomain?

This answer contains my comment and then @dan's comment. Both show two different thoughts on the subject. Combined, they make a good answer. Any other points are certainly welcome. The value of www ...
closetnoc's user avatar
  • 32.9k
3 votes

Is there a way to tell a search engine that a subdomain should be treated as part of your main domain?

Public Suffix List In cases where you are giving out subdomains to users, and you don’t necessarily trust each other (e.g., being a web hoster), you can get your domain added to the Public Suffix ...
unor's user avatar
  • 21.9k
3 votes

Avoiding SSL certificate errors with Amazon S3 subdomain

Rename to static-example-com.s3.amazonaws.com - this would work with the out of the box wildcard cert they supply. Take a look at what AWS recommends here. Also, Id read through the answer here It ...
conorb's user avatar
  • 206
3 votes
Accepted

Will client sites on clientsite.mydomain.com affect SEO at www.mydomain.com?

Will googling for "mydomain.com" also give results for "petterson.mycompanydomain.com"? (making my client an unnecessary competitor) Not after you set up a 301 redirect. If it's indexed right now, ...
Emirodgar's user avatar
  • 3,817
3 votes

How to use X-Robots-Tag to noindex all subdomains (save specific exceptions)?

Since all the subdomains point to the same place on the filesystem then you can do something like the following at the top of your .htaccess file in the document root: SetEnvIf Host ^docs\. INDEX ...
MrWhite's user avatar
  • 43.3k
3 votes
Accepted

Do empty subdomains hurt a domain's reputation for email deliverability or SEO?

Not sure about SEO because of that don't depends in any sense of DNS records. But the answer is no, you will not have a negative score for having long time Cname records. About the mail server score, ...
Santiago's user avatar
  • 135
3 votes
Accepted

How do I redirect a subdomain with a wildcard?

You are close. RewriteCond %{HTTP_HOST} ^sub-domain\.example\.com$ [NC] RewriteRule ^(.*)$ https://www.example.com/newpage.html [R=301,L] --or-- RewriteCond %{HTTP_HOST} ^sub-domain\.example\.com$ [...
closetnoc's user avatar
  • 32.9k
3 votes

Can I redirect a domain with redirecting its subdomain?

No, top-level domains (example.com) can be redirected independently with regards to their subdomains (www.example.com, notredirected.example.com). The typical setup for what you're describing is to ...
Maximillian Laumeister's user avatar
3 votes
Accepted

css,js,img folders not available for subdomain pointing to subfolder

I referenced all assets in the html with ../img/, ../css/, ../js/ paths. These are client-side URL-paths; not server-side filesystem-paths. If the browser is currently at https://subdomain.example....
MrWhite's user avatar
  • 43.3k
3 votes

Can I use a separate hosting company for a subdomain?

You can do this for a subdomain (ie subdomain.example.com) - as DNS is designed (among other things) to direct different different subdomains to appropriate ip addresses. It is only indirectly ...
davidgo's user avatar
  • 8,579

Only top scored, non community-wiki answers of a minimum length are eligible