Questions tagged [subdomain]

Subdomain is a domain which is a part of a larger domain. For example, 'sub.example.com' is subdomain of 'example.com' domain.

Filter by
Sorted by
Tagged with
78
votes
8answers
5k views

Should I include “www” in my website's URLs? What are the pros and cons?

What are the pros and cons of having http://www.example.com/ vs http://example.com/? For example a problem I'm aware of is that if I use a domain without www I can't set a cookie for the current ...
51
votes
4answers
4k views

Are page ranks for subdomains independent?

If I have a domain name say stackexchange.com and I want to host 2 sites X and Y as subdomains of that site. Will x.stackexchange.com help out y.stackexchange.com in page rank? Or will google treat ...
37
votes
6answers
2k views

Subdomain versus subdirectory [duplicate]

I recently moved from having a main site like www.example.com with a subdomain associated site yyy.example.com, to moving everything off the subdomain to a subdirectory like www.example.com/yyy/, with ...
32
votes
4answers
8k views

Do subdomains help/hurt SEO?

If I have example.com, and blog.example.com, do search engines see those as one site or two? Will using subdomains hurt SEO? I have some technical reasons why I can't use example.com/blog.
29
votes
5answers
6k views

Why insert static files (CSS, images, JavaScript, ECC) in a subdomain?

Why so many big and little sites inserts static files (CSS, images, JavaScript, ECC) in a subdomain like media.example.com or s2.static.example.com? What are the advantages? Why not just a directory ...
28
votes
11answers
2k views

SEO International Websites usage of sub domains and ccTLD domains

Is it better to have separate country specific domains (which costs more money) or sub domains which define the country, for better SEO? e.g. example.com example.com.au example.co.uk vs example....
16
votes
1answer
10k views

CNAME: does a cname change the url that the browser displays?

I have a web site www.somewhere.com and I want the alias fr.somewhere.com. I set up a CNAME record for www.somewhere.com alias fr.somewhere.com. When a user types in http://fr.somewhere.com in their ...
14
votes
8answers
19k views

Is it possible to find all subdomains for a certain domain?

a client of mine is currently hosting a web-project on one of his servers with some sub domains for previews, testing etc. Those are really hard to guess sub domains like: donottestme123789.example....
12
votes
1answer
624 views

How are web applications like Tumblr, WordPress.com and Blogspot able to create subdomains for users so fast?

I am curious as to how web-applications are able to create sub-domains instantly for new users, for example, newuser.wordpress.com, or example.blogspot.com. If I need to create a new subdomain for a ...
12
votes
3answers
2k views

Subdomains vs. subdirectory – status as of 2012. [duplicate]

This following question by Jeff was in 2010 and I wanted to check how things have changed in the past 2 years. My problem: I run a site with most of the content distributed to subdomains that’s are ...
12
votes
2answers
9k views

Why does my site only work with a www in the URL?

I'm a bit confused as the following points: There is a simple text website, with no javascript, that works only with the prefix. http://www.mysite.corporation.com works but http//mysite.corporation....
12
votes
1answer
745 views

Is an externally-hosted subdomain a security risk?

A company I've been developing a web site for wants to keep their current domain, which is something like company.parentcompany.com. Because we wanted to use a different CMS, the parent company ...
11
votes
6answers
3k views

Why should I use a subdomain structure over a directory structure?

I want to do blog.mysite.com but i know it will negatively impact my PR with Google. When is it preferable to structure your site like that vs mysite.com/blog? Is it only for the benefit of PR?
11
votes
1answer
15k views

Difference between CNAME and SUBDOMAIN

What is the difference between a CNAME and a Subdomain? I understand that the a cname (the left side of a domain) can point to the domain, so you can two different urls point to the same address, ie. ...
11
votes
2answers
213 views

Choosing which domain to secure

We've got a website that is served on both www.example.com and just example.com - we've never done any sort of forcing users from one domain to the other, so if they land on example.com then that's ...
9
votes
4answers
13k views

Sitemaps - one per subdomain or one for the base domain?

I have more than 5 subdomains on a project, say developer, www, staff and some more, what is the best practice in creating sitemaps? All subdomains that share a same sitemap at base domain (example....
9
votes
4answers
4k views

How can I tell Google Analytics to not use cookies for my sub domain?

I have my web site at example.com, and i have also setup a sub domain for serving static content at static.example.com. On my web pages I'm using Google Analytics, so it will attach its cookies to all ...
9
votes
3answers
15k views

How can I use robots.txt to disallow subdomain only?

My code base is shared between several environments (live, staging, dev) & sub-domains (staging.example, dev.example, etc.) and only two should be allowed to be crawled (ie. www.example and ...
8
votes
2answers
582 views

Can I use the same SSL cert for HTTPS and FTPS

I am looking to get an extended SSL certificate for a server that is handling one of my subdomains. Can I use the same certificate for https://sub.example.com and ftps://sub.example.com, assuming that ...
8
votes
3answers
707 views

Dev site indexed by Google

I was developing a new version of our site on a subdomain (dev.oursite.com) and the robots.txt with the Disallow got replaced at some point, so the site got indexed by Google and other search engines. ...
8
votes
2answers
625 views

Canonical'd pages on subdomain showing up in Google search results

You might have heard that we launched Facebook Stack Overflow yesterday. As part of this, we modified our code to put <meta rel="canonical" ... tags on every question and user on the facebook....
7
votes
6answers
4k views

URLs which begin “www2”

I was sent a link recently http://www2.biotech.wisc.edu/ I've occasionally noticed this appear in some web addresses, where does the "2" come from? Does it mean anything? How would I go about getting ...
7
votes
6answers
1k views

Would it be better to use subdomains or folders when each client needs a section of the site?

I'm working on a services type web application and I have to choose how to set up the URLs for the customers. Which solution is better, as a subdomain (e.g.: client.myservice.com) or as a folder (e.g.:...
7
votes
2answers
3k views

How can I secure an installation of MediaWiki?

I want to run an installation of MediaWiki as a Internet-accessible personal wiki, running on wiki.mysite.com. However, I want to ensure that I am the only one who can read and write to this wiki. In ...
7
votes
2answers
288 views

Subdomain versus new domain

I'm adding a blog to a site. Would it be better for SEO to put it at blog.example.com or at www.exampleblog.com? I already own www.exampleblog.com . Would combining the words together to exampleblog ...
7
votes
1answer
3k views

Can I use different nameservers for different subdomains?

Suppose I have example.com and the nameserver I'm using is the one from the hosting server where I'm hosting the main site, say mainhosting.com. Now suppose I add a new subdomain e.g. bla.example.com ...
6
votes
4answers
342 views

DNS sub-domain registration

Is it possible to register a sub-domain if you don't own the base domain? For example, could I register NickLarsen.random.com if I don't own random.com?
6
votes
2answers
1k views

Are co.uk domains and the likes subdomains?

I was wondering, are co.uk domains and others with an additional dot subdomains? If not, why not, and if so, can you create sub-sub domains?
6
votes
4answers
6k views

Subdomain with dot?

I'm not even sure how to search for an answer to this question, so my apologies if already asked. We have a subdomain setup on the server in the format eg.example.com. Some people are typing in www....
6
votes
3answers
30k views

Remove subdomains from Google index and stop indexing them

I am running static content through a CDN, cdn1-cdn5 I am using such subdomains for that. I am loading just images, CSS and JS files this way, but apparently Google has indexed some pages on ...
6
votes
2answers
741 views

Are subdomains (for mobile-specific pages or localization) bad for SEO?

You have a website: http://www.mysite.com You want to serve up mobile-optimized pages for mobile devices. I've seen a lot of companies redirect mobile devices to this type of subdomain: http://m....
6
votes
2answers
3k views

Redirect/rewrite dynamic URL to sub-domain and create DNS for subdomain

I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain. Dynamic URL pattern: http://mydomain.com/mypage.php?user_name=testuser I wish to re-...
6
votes
2answers
12k views

Starting from scratch xxx.yyy.com or www.xxxyyy.com (any SEO difference?)

I know there are lots of answers both here (e.g. this and this) and elsewhere which deal with subdomains and their impact on SEO. However, often the questioners are either asking about subdomain ...
6
votes
2answers
998 views

Moving from Subdirectory to Subdomain structure

I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as: http://examplecom/blog/ http://example.com/coupons/ Blog is powered by wordpress and ...
5
votes
2answers
935 views

Is there any way to use a sub-domain as your root domain

I have been asked by my supervisor to look for a way to make the website's root domain access the sub-domain instead. Like: example.com is the root domain test.example.com is the sub domain Typing ...
5
votes
4answers
8k views

Is it “acceptable” for a sub domain to be hyphenated?

I am putting together a site for a portal. Some of the subdomains have rather long names and I am thinking that maybe I should use hyphens to make the subdomain names more readable. For instance: ...
5
votes
3answers
344 views

How do aliases or redirects work?

Is it possible that I set-up a redirect of my store which is located at www.xyz.com/store to store.xyz.com . Do i have to buy a new domain name or is there any other way.
5
votes
2answers
188 views

Implications of using subdomain or traditional folders SEO

Let's say I run a site where companies get their own page, and within that I also show staff members. I am torn between three different approachs in terms of URL's and want to choose one which is not ...
5
votes
1answer
299 views

Impact of dropping www from main URL on SEO

A client's website is currently at www.example.com, with example.com redirected there automatically. I've suggested that they reverse the redirection to drop the "www", so I can set up a subdomain ...
5
votes
3answers
295 views

SEO impact on subdomain for full name and obscure ccTLD

There have been a few questions on subdomains and their impact on SEO, mostly in comparison to subfolders. The closest I've found is this question but it still doesn't completely answer my query. ...
5
votes
1answer
1k views

How to make Google consider subdomain as part of the main website in SEO?

I have a well ranked website on Google and Bing. In the last few months I've been feeding a blog for my webpage and now I'm trying to rank it on Google and Bing just like I did with my website. ...
5
votes
3answers
1k views

Multiple Wordpress installs on subdomains affecting SEO?

I am working on a website for a photography business in town and was asked to do something I'd never considered before. The company wants a basic webpage for it's "general" business -- example.com, ...
5
votes
1answer
2k views

Redirecting all child pages from subdomain

I can't get this redirect working... Can someone point me in the right direction please? On a WordPress site I want to prevent access to all pages that sit beneath a given parent page. All I want ...
5
votes
2answers
11k views

How can I add sub1.sub2.example.com to my GoDaddy hosting account?

I'm using GoDaddy's Ultimate hosting plan, and I'd like to know how to add sub.sub domain to it. For example, I want to create a site as es.n.example.com. However, GoDaddy tells me when I add the dot ...
5
votes
1answer
2k views

GSC: How to move a site from a domain to sub domain, sub folder or new domain with a sub folder?

Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder, sub domain or a new domain with sub folder?
5
votes
2answers
311 views

The SEO Impact of Migrating from Free Hosting on WordPress.com to Own Hosting

I have a blog (which serves as a commercial site) hosted on free wordpress.com. Since I now want to customise and get ownership of the whole thing I am thinking of either self hosting or upgrading ...
5
votes
1answer
1k views

When an add-on domain is created in cPanel it automatically generates a subdomain, why?

When I create an add-on domain in cPanel, a subdomain is automatically created. How does this affect the SEO of the website and does it also affect other websites that are hosted on the same server? ...
5
votes
1answer
786 views

IIS sub-domain reverse proxy based on host name

I have a virtual machine in azure running three self hosted applications (not hosted in IIS) on three different ports. I can access them at the urls below: my-server.cloudapp.azure.com:8080 my-...
5
votes
1answer
277 views

subdomain not working and added /mysubdomains/devsitename

I am having a site www.example.com which working fine and I have a number of sub-domains which are working fine except one. When I gave the url subdomain.example.com the address bar showing as below ...
4
votes
2answers
3k views

Does disavowing a subdomain work? Will disavowing a domain include all the subdomains?

I currently disavow the domain example.com using Google's disavow links tool. What can I do if I want do disavow a subdomain? i.e. spam.site.com. I'm also assuming that if I were to disavow the ...