14 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 ....
  • 41.6k
5 votes
Accepted

BingBot hitting multiple subdomains all at the same time, causing panic

This is Vincent from Bing Webmaster Tools and I noticed your post. First of all, I'm sorry to hear about the problem you are having with our crawler's crawl activity across your subdomains. I am sure ...
4 votes

"There is no subdomain here." error in creating (one/multi)-level sub-domains

The software 'WebsitePanel' does not allow you to make subdomains of a subdomain. You could use a sub-domain to create a new web site, but you cannot create another sub-domain based on it. From ...
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 ...
  • 456
3 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 ...
3 votes
Accepted

"There is no subdomain here." error in creating (one/multi)-level sub-domains

The approach of using a wildcard DNS record is probably the correct one for your use case. When you configure a wildcard DNS record, all requests to any subdomain will be resolved to the IP address ...
3 votes
Accepted

Split 3.5M pages under different subdomains. Good idea?

Google is indexing only a portion of your pages because your site doesn't have enough reputation. Splitting your reputation between three subdomains isn't going to help. You will still only be ...
3 votes

More than 100 of subdomains to be tracked in Analytics using Google Tag Manager

Regarding the Property and View limit (50 and 25, respectively), there's no way around that, really, so you'll probably have to break up the sub-d's across several properties. So with that in mind, ...
  • 2,533
3 votes

Google Search Console: Is it possible to exclude certain domains from domain property?

Unfortunately, no. That is not possible. I would very much like to provide a more detailed answer here, but it's really just that straight forward. We get 2 options: Why don't you just create an ...
  • 5,467
2 votes
Accepted

How my website will be ranked if I host multilanguage blogs under my domain?

Okay. I just read the article and watched the video and the article is rather misleading. It is, while a milder form, a misunderstanding of what Matt Cutts was saying. This happens often even by ...
  • 32.6k
2 votes

.htaccess rewrite rules not working

Try: RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] This should work. Here is mine: RewriteCond %{HTTP_HOST} ^example\.com$ [NC] ...
  • 32.6k
2 votes
Accepted

Is it best for SEO to have one large domain vs multiple small

To begin: Okay. There are several things to consider here. Looking at things from Google's point of view, you can easily see why Google makes some of the decisions they make. I will cover just a bit ...
  • 32.6k
2 votes

Is it best for SEO to have one large domain vs multiple small

If you create several websites with different root domains & if there are two pages linking to each other from two different domains, it means you have to build up reputation for those 2 domains. ...
2 votes

Split 3.5M pages under different subdomains. Good idea?

If the subdomains run all on the same server, then its bad speed-wise. I tried it myself and noticed higher TTFB values when I ran them under webpagetest.org Also, each new subdomain request is like ...
2 votes
Accepted

How to distinguish different subdomains in Google Analytics with Wordpress multisite?

I will suggest creating a filter to one of your reporting or testing views following this procedure https://support.google.com/analytics/answer/1012243?hl=en This will record the full URL in your ...
  • 2,428
2 votes

How to distinguish different subdomains in Google Analytics with Wordpress multisite?

The answer is actually quite simple: you can use the Hostname as a secondary dimension in your reports to separate between the main site and the subdomain. Alternatively, if you want a more permanent ...
2 votes

Joomla Website Creating Automatic Unwanted Subdomains

The issue that you are having is in relation to cPanel and your web host. Typically a default install of a cPanel hosting account will setup various services that can be accessed by your domain. Often ...
  • 32.6k
2 votes

Rewrite wildcard subdomains in .htaccess to corresponding folders on the main domain while preserving the subdomain

I have Internal Server Error when I try to change the last line to RewriteRule (.*) /agents/%1/ [L] Because this will result in an internal rewrite loop. It looks like you also want to preserve the ...
  • 41.6k
2 votes

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

https://professor.department.faculty.university.tld format may be easier to maintain for your IT as against the method you expect. However the method you mentioned is the standard practice for the use ...
2 votes
Accepted

Would 200 subdomains each with 500-1000 pages be too many?

In short, I would recommend going with subfolders, not subdomains. Most developers would probably agree that administering 200 subfolders is less work than 200 subdomains. Just thinking of the DNS (...
2 votes

Connect Google Analytics properly for a website that is accessible from 2 subdomains

i would place GTM on both subdomains, and use the same UA code if you want the data all in one place. For everything i've ever needed it to do, GA subdomain tracking works fine / natively / ...
1 vote
Accepted

Will cross linking three subdomains to each other be good for SEO?

For SEO purposes, the fewer domains and subdomains you have, the better. Subdomains don't really help boost the main domain and if people link to the subdomains rather than the main domain, you're ...
  • 1,900
1 vote

Robots.txt to disallow on multi level subdomains

While developing, each instance lives on client.dev.example.com Any "polite" bot will request the robots.txt file at http://client.dev.example.com/robots.txt. So this request must serve the necessary ...
  • 41.6k
1 vote

prevent SERPS from other subdomains (locales) appearing in a specific region

Apply the Structured Data Properties Organization or LocalBusiness (Use the most specific LocalBusiness sub-type possible; for example, Restaurant, DaySpa, HealthClub, and so on). According to Guide ...
  • 2,102
1 vote

How to add custom subdomain for each user like john.example.com

Firstly, I recommend dropping the www from the front of subdomains, it confuses people. You can have www.foo.com if you really want, but then just potato.foo.com I am not sure about in node.js but ...
  • 7,743
1 vote

gh-pages not allowing multiple subdomains

Create another repository for github pages for example api.github.io .Which is accessible from github.com/yourusername/api.github.io Create separate branch with name gh-pages Create a CNAME file which ...
  • 5,487
1 vote

Indexing different subdomains on a sitemap

The one unfortunate rule with sitemaps is that they are for one site only. In otherwords, you cannot reference more than one domain name. In your example, you are referring to example.com, fr.example....
  • 32.6k
1 vote

Multiple Web servers on a single IP

off topic but you can use nginx as a reverse proxy. Create your domain.conf in /etc/nginx/conf.d/ Below pulled from working config nginx version: nginx/1.9.15, you can repeat stanzas for each app but ...
  • 201
1 vote
Accepted

Put document pages to the company site or create "docs" subdomain?

What would you recommend, to keep products docs on the same site as products information itself or to create separate domain for docs? I'm doing all on the same domain because of the easier ...
  • 3,858
1 vote

Is it best for SEO to have one large domain vs multiple small

Google prefers content over everything else and the trickery of cross linking subdomains or subdirectories is well known to them and Matt Cutts has called this out in the past. Having many small ...
  • 4,608

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