Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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.

1
vote
0answers
16 views

Do Google Analytics sessions get broken when tracking UserID and ClientID across subdomains that may not send that data?

I have a domain name with three subdomains. One where a user is authenticated and two where they aren't. I'm planning on implementing UserID tracking for Google Analytics in place of the standard ...
0
votes
0answers
38 views

How do I redirect a subdomain on Google domains to a URL with masking?

I bought a domain (on Google Domains) for a personal webpage and set it up to point to my github.io page I also added a subdomain (say somefile.mydomain.example) and it now redirects to a Google ...
0
votes
0answers
10 views

Add Wordpress subdomain sites and mapped domains to Google Search Console [duplicate]

I have a WordPress subdomain network with 14 sites like this: https://mynetwork.example/ https://site1.mynetwork.example/ https://site2.mynetwork.example/ https://site3.mynetwork.example/ ... https://...
0
votes
3answers
60 views

Canonical URL of PWA - point to main domain?

We launch several versions of our PWA on URL's like: https://editor.construct.net/ (always points to latest stable version) https://editor.construct.net/r141-2/ https://editor.construct.net/r141/ ...
1
vote
1answer
22 views

.htaccess: Redirect all HTTPS to a subdomain, but EXCLUDE one subdomain folder

In summary: (Notice the "https") I have https://www.example.com All need to be re-directed to https://sub.example.com EXCEPT https://xyz.example.com/api Here is my current .htaccess: ...
1
vote
1answer
27 views

Should Geo-targeting Subdomains have their own dedicated Social Media Profiles?

I currently have a website owner, looking to expand their Geographical reach. Rather than investing in dedicated ccTLDs, the use of Subdomains have been opted for as follows: en-gb.example.com (...
1
vote
2answers
36 views

Different Domains For Google and Users

We have a shopping cart site with a course attached to it like so: www.example.com is the cart Magento Platform www.example.com/course/ is the course Wordpress Platform Both the sites are linked both ...
4
votes
1answer
110 views

Is it bad for SEO to use a subdomain other than www as main domain?

Somebody told me recently "Subdomain generally ranks lower than domain", this is not the only one to say to avoid use subdomain. Can a subdomain rank as a root domain? Will it hurt ranking or SEO to ...
0
votes
1answer
27 views

SEO domain setup for network of locations

I am looking for some industry expert weigh-in on best practices to how to best approach the business scenario described below. Tim runs a business, timsbusinesswebsite.com. Tim's business has ...
0
votes
3answers
80 views

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

One of the top level domain (TLD) that I came across ".forsale" caught my attention. If we are to buy "accessories" domain, and apply different subdomains like mobile, laptop would that have any SEO ...
1
vote
1answer
38 views

List of reserved third-level DNS zones?

The DNS zone name _domainkeys is used for email authentication through TXT records. The zone names _tcp and _udp are used to advertise application availability through SRV records. Naturally, a ...
1
vote
2answers
130 views

Could there be any issues using “ns” as a subdomain?

I want to setup a subdomain "ns" on my domain, but before I do want to double check if there could be any potential issues using such a subdomain. For example ns.mywebsite.com To my knowledge, there ...
2
votes
1answer
31 views

Dynamic Subdomains - Should I use DNS API or a wildcard CNAME record?

I want to provide new subdomains based on user request. I realized that there are two ways to do it: Using API of the DNS provider to register new CNAME records that point to pages within the website ...
0
votes
1answer
26 views

Trying to add a mail server, mail.example.com redirects to different subdomain. How do I stop that?

I have an Apache web server that also runs my Gitlab server and now I'm trying to make it a mail server too. Various tutorials told me that I needed to start with adding some DNS entries and getting ...
0
votes
1answer
22 views

My team wants to move news section of our website to subdomain [duplicate]

My team wants to move news section of our website to subdomain ex "news.website.com" does it affect SEO? Can anyone tell me pro and cons of this thing?
-1
votes
1answer
20 views

I have my main domain pointed to my main web host, and now I want to create a subdomain for Google Blogger [closed]

I have purchased domain from Domain India (www.example.com) and hosting at Cloud247.com and the main site (www.example.com) is hosted at Cloud247.com. But now I want to create a subdomain (xyz.example....
1
vote
1answer
46 views

Move a blog on a different server from a subdomain to a folder using Nginx

I have a node js application that runs on a VPS, and recently we added a blog to the site, we choose WordPress for the blog CMS, for avoiding configuring VPS for PHP and WP we moved blog to another ...
1
vote
1answer
24 views

Do noindex tags on subdomain pages affect image indexing?

Maybe stupid question, but I have to ask: I'm hosting my images on a subdomain. My main site is example.com and images are stored on static.example.com. Subdomain is just a simple html page - when ...
1
vote
0answers
43 views

How can I filter Google Analytics to view data related to subdomains/pages?

I have a website at the URL www.example.com, and I have another page at the URL hello.example.com/cornerstone which uses the same tracking ID. In my default analytics view I can only view data related ...
3
votes
1answer
37 views

Will hosting part of my site with a third party on my subdomain result in SEO penalties?

I run my photography website with a VPS, but I'm looking to expand my offerings through a third-party photo hosting service Pixieset. Pixieset allows users to connect their Pixieset account/galleries ...
0
votes
1answer
75 views

Set up Sub Domain [closed]

I bought my domain name from 123-reg and can control the DNS, Name server, forwarding etc there, I have now purchased my hosting from webfaction. I see in 123-reg there is a section to create a sub ...
3
votes
1answer
162 views

Are multiple consecutive dots allowed in a domain name?

Is it allowed to have an empty subdomain? E.g., is sub1..sub2.example.com a valid domain name?
2
votes
2answers
106 views

How to show 410 Gone status for subdomains that are already been deleted

I bought an auctioned domain to build my new project, from my analysis with Ahrefs, people that were behind this domain had a subdomain called "forum" for their forum, and somehow they didn't know how ...
1
vote
0answers
26 views

Google reporting that country subdomains (English) are all canonical to the default despite hreflang and lack of canonical tags

We have some serieus issues with google not indexing language subdomains. It keeps marking the main domain as canonical prefered.I did some research on the matter, the code below was the result (that ...
1
vote
0answers
84 views

Mask a subdomain as subfolder and allow access from only from the folder URL

I have serviceX.example.com and I don't want to move everything, I want to mask the URL so visitors and search engines see example.com/serviceX instead of the original/real location. I don't want ...
-1
votes
1answer
72 views

My subdomain will redirect to root domain. How do I fix this?

My Subdomain will redirect back to the main site. How do I fix this so it redirects to the subdomain? My main site is a WordPress adult site so I'll use example.com to explain. All I have in the ...
3
votes
2answers
51 views

SEO: Separate domain targeting each state or one domain with state-specific sections

I'm part of a business based in Western Australia, for example, Online Training Western Australia, currently operating a website on onlinetrainingwa.com.au. Our original goal was to provide the ...
2
votes
1answer
34 views

Is it necessary to edit DNS settings at registrar when using CloudFlare?

I need to point a subdomain to a different web hosting service. The domain is registered with my registrar, the DNS is managed by CloudFlare, and the hosting is managed by a third party hosting ...
3
votes
2answers
325 views

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

Google's Robots meta tag and X-Robots-Tag HTTP header specifications page (Practical implementation of X-Robots-Tag with Apache section) gives an example of noindexing certain filetypes, ie: <...
1
vote
1answer
76 views

Can the wildcard DNS record for 2nd level subdomains differ from the wildcard rule for 1st level subdomains?

We have an A record that points *.example.com to an IP address. Is there a way to prevent 2nd level subdomains (*.*.example.com) from being directed to that IP? Or direct them somewhere else?
1
vote
1answer
79 views

Subdomains getting redirected to root directory of virtualhost

I'm trying to have 3 different domains and subdomains on my VPS: pd.example.com intranet.example.com example.com I have configured them, but for some reason each subdomain is getting redirected to ...
1
vote
1answer
157 views

Is it good for SEO to link back from a subdomain to the main domain using web banner links with alt text?

I want search engines to connect the domain and subdomain together. eg: example.com and subdomain.example.com. Is my method of doing so a problem for SEO? I want the main domain to link to the ...
1
vote
0answers
25 views

How do I prevent Google Analytics from sending cookies to cookie-less subdomains? [duplicate]

I'm trying to keep GA from setting cookies on static files like images. All the files concerned are loaded from cookie-free subdomains. Is there a way to exclude these subdomains from getting the ...
2
votes
0answers
248 views

GoDaddy subdomain forward issue with query string

I have a GoDaddy account for my domain. I am forwarding a subdomain to a different server but the relative path is not getting passed when the 301 forward is done. Example: test.example.com -> test....
2
votes
1answer
58 views

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

I work at a university and the IT here uses a subdomain for every sub-entity like https://professor.department.faculty.university.tld, which I find highly unusual. I actually would like a path for a ...
1
vote
0answers
206 views

Will introducing a CDN for images on a subdomain dilute our PageRank or hurt our rankings?

Background: We run a product aggregator site. We list 20k products which will grow to 200k within the next year and also have a section of the site where users can take those product images and ...
1
vote
0answers
27 views

How can I point a subdomain at a web app without the domain name changing in the browser address bar?

I have two apps app1 and app2 on 000webhost. Say app1 has domain www.example.com which uses cloudflare. I want subdomain.example.com to be the main domain of app2. How can I do this? I have created a ...
2
votes
0answers
77 views

Change default index.html page of a subdomain in directadmin

When I create a new subdomain in direct admin panel it gets a default placeholder page saying something between the lines "welcome, the page is under construction" or whatever. I've looked online ...
1
vote
0answers
50 views

How to implement hreflang for a .com with a subdomain and and a .ca domain [closed]

I'm currently working on the SEO for a site that has the following domains: subdomain.example.com example.ca These are both e-stores and I'm wondering how I would go about setting up hreflang in ...
2
votes
1answer
52 views

Redirect a sub-domain to a locally hosted site

I have a domain like example.com, it is hosted on some web hosting service. I read this article on how to convert your laptop/desktop into a server and host internet accessible website on it: part ...
0
votes
0answers
19 views

Does AdSense count unique views per subdomain?

If I have two websites: foo.domain.net and bar.domain.net and foo gets 35.000 views, while bar gets 10.000 views but 5.000 views are from same users that have already visited foo, will Adsense count ...
2
votes
1answer
26 views

How can I use cPanel to change move a domain to a subdomain?

I have a site hosted on Namecheap. I need to move the whole site to a sub-domain on the same domain. I know I can do that through Cpanel on name cheap but am not sure how and what the best way to do ...
0
votes
0answers
16 views

Subdomains and SEO [duplicate]

I am needing some opinions regarding subdomains an SEO. Your experience and recommendations with this topic is greatly appreciated. I have read quite a bit about using subdomains and not using them. ...
0
votes
1answer
25 views

shop sitemap with each product on its own subdomains

My client has a shop and he want's me to create sitemap with products. The problem is that each product has its own subdomain. Every products uses the same layout as homepage and non-subdomain pages. ...
-1
votes
1answer
15 views

How to direct main domain pages to sub domain [duplicate]

One of my client had a wordpress website say www.example.com.au in wordpress As they wanted to have separate websites for different locations, we created subdomains for each location like sydney....
2
votes
0answers
31 views

How can we change a subdomain to a subdirectory when we can't host on the same server

I have a client that have a site: https://www.example.com. He has a blog on an another provider with a subdomain: https://blog.example.com. The SEO on the two is divided, so I'm wondering what is the ...
0
votes
1answer
65 views

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

I have 1 domain with 2 subdomains. for example: example.com news.example.com video.example.com Would linking these three domains to each other through the menu, content, and pictures with do-...
0
votes
1answer
49 views

Subdomain redirection to external subdomain

I need to create a redirection from my own subdomain to an external subdomain, like subdomain.domain.com -> subdomain.external.com. So if anyone try to enter in my subdomain, it redirects ...
1
vote
1answer
31 views

Is it necessary to own both domains if I want to forward, redirect, and/or alias a subdomain?

Please forgive me (and please correct) if I misuse jargon and terminology -- web hosting, administration, etc. is new to me. Say I want to host a site at each of the following addresses: http://www....
2
votes
2answers
336 views

Robots.txt to disallow on multi level subdomains

I've got a server, where I have multiple development projects for clients. While developing, each instance lives on client.dev.example.com. I need to stop crawlers from crawling the development ...