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.
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. ...
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."...
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. ...
15
votes
Accepted
How can I use robots.txt to disallow subdomain only?
You can serve a different robots.txt file based on the subdomain through which the site has been accessed. One way of doing this on Apache is by internally rewriting the URL using mod_rewrite in ....
13
votes
Is there any way to use a sub-domain as your root domain
Indeed you can. For instance some do not realize a www. url is an actual sub-domain. So it is happening all the time.
You can go to your server settings and choose your sub-domain as the main domain ...
10
votes
Accepted
Cloudflare DNS: How to 301 Redirect all traffic from Sub Domain to Main Domain with URL path?
The error you are receiving is because CNAME's only support domain names and not URL paths. You can setup a redirect using your hosting account or Cloudflare Page Rules.
14 Step Cloudflare Process ...
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 ...
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 ...
6
votes
Accepted
How to implement WordPress in a subdirectory, hosted on a different server?
The subdomain is certainly the easiest option since you are wanting to host the site on another server. The reason for this is that a hostname can only ever resolve to a single location. If you are ...
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 ...
5
votes
How can I use robots.txt to disallow subdomain only?
robots.txt works only if it is present in the root.
You need to upload a separate robots.txt for each subdomain website, where it can be accessed from http://subdomain.example.com/robots.txt.
Add ...
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 ...
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 ...
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....
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 ...
4
votes
How to access a website hosted on a shared server (and IP), when its domain is not working?
Your hosting provider should send you temporary URL for your hosting account and website.
If they didn't, check your cPanel or whatever control panel and take out the ip address and paste it here:
...
4
votes
Can I purchase subdomains separately from a different registrar?
Sub-domains are not purchased or registered. You are free to create one for yourself anytime you like.
Domain names are registered and tied to an IP address. You most likely do this with your ...
4
votes
Accepted
Cannot forward root domain managed by Google Domains to AWS Load Balancer
This is a limitation in the fundamental design of DNS itself. Adding a CNAME at the apex of a domain is essentially invalid because it leads to an illogical set of consequences.
This is why Route 53 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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. ...
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 ...
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 ...
3
votes
Any real benefit from using a subdomain vs a folder vs just a page name?
A lot of it is vanity related.
The benefit of using folder names instead of file names is that you can ditch file extensions on the URL, so if you put an index.html file inside of the example.com/...
3
votes
Accepted
Firebase Custom Domain - add admin subdomain?
The mistake here is not understanding the what A and CNAME records support:
A records will only support IP addresses.
CNAME records will only support valid domains.
Therefore using a full URL path ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
subdomain × 802domains × 227
seo × 205
dns × 138
redirects × 91
htaccess × 63
web-hosting × 60
google × 42
google-analytics × 42
wordpress × 41
cname × 40
google-search-console × 35
apache × 33
cpanel × 33
url × 30
subdirectory × 29
multi-subdomains × 29
301-redirect × 27
godaddy × 24
google-search × 22
search-engine-indexing × 20
https × 19
multiple-domains × 18
robots.txt × 16
dns-servers × 15