Subdomain is a domain which is a part of a larger domain. For example, 'sub.example.com' is subdomain of 'example.com' domain.
Questions tagged [subdomain]
5761 questions
1
vote
3 answers
Cookies And Subdomain
There is a website with several subdomains.
On the main subdomain cookies are set:
@setcookie( $name, $value, $expires, '/', '.www.mysite.com');
I can see the cookie on www.mysite.com and sub1.mysite.com.
The directories are: …

lvil
- 4,326
- 9
- 48
- 76
1
vote
1 answer
Google Analytics 4: How do I track visitors from different Sub-Domains using one tag on my Main-Domain?
I am using GA4,tagged my main domain and now I can track and see how many visitors came through, from where are they etc...
This main-domaim, has more sub-domains that lead to it (DNS records, elliases) - and I want Google Analytics to show me, via…

xxredxoctoberxx
- 13
- 2
1
vote
1 answer
ASP.net subdomain for each country using the same code with parameters
I'm planning a multicountry site. I will be using a subdomain for each country, for example:
uk.example.com (UK)
us.example.com (USA)
ca.example.com (Canada)
Each country will have sections, but not all the countries will have all the…

delavega
- 79
- 8
1
vote
1 answer
Google Search Console API permissions on sudomains
Good day!
I have a series of domains on Google Search Console:
domain.eu
sub.domain.eu
test.sub.domain.eu
I have permissions for all three of them as Domain property (without protocol prefixes).
I want to use the GSC API (PHP) to scrape the data…

Fabbio
- 343
- 2
- 16
1
vote
1 answer
Sharing Authentication Cookies across subdomains
We have created an ASP.NET Core 3.1 MVC web application and we are using cookie authentication scheme. Our .NET Core application is running on Apache Web Server via reverse proxy on a Linux OS.
We want to share authentication cookies across all sub…

Parvez Khan
- 11
- 3
1
vote
1 answer
Nginx redirects different subdomain to Angular app not found page
I have a domain name like sub.example.com and I can serve apps using it by adding another subdomain level, like test.sub.example.com. It works fine and I could serve multiple apps one on app1.sub.example.com and another on app2.sub.example.com.
Now…

Isu
- 330
- 1
- 4
- 16
1
vote
0 answers
Python LDAP3 subdomains search
I have two domains - example.com and corp.example.com in a single forest. I want to retrieve users' information such as sAMAccountname, distinguishedName, displayName and department from both domains.
This domains are trusted to each other,…

Arius
- 11
- 2
1
vote
0 answers
Remove cookies using chrome.cookies.remove api method
Working on a Cookie Manager chrome extension, I added below 4 cookies one by one using chrome.cookies.set method. All the 4 cookies have the same name, but different domain/path combination.
Now, if I remove one cookie using chrome.cookies.remove…

CodeZila
- 919
- 2
- 14
- 31
1
vote
0 answers
DNS not mapping to subdomain - Vercel
I'm working on a blogging infrastructure and I'm sort of practicing how things are going to work with the domains. I have figured how to make users have their own subdomain and fetch their blog based on that. Now, I'm trying to figure out how users…

xing0x
- 11
- 1
- 2
1
vote
1 answer
I am facing ERR_HTTP2_PROTOCOL_ERROR on my website
I am facing ERR_HTTP2_PROTOCOL_ERROR on my website for some of the files like CSS, and Javascript, I tried clearing the browser cache but it is not working so please do not recommend me this solution. Secondly, I can not clear the cache all the time…

Bilal Shuja
- 13
- 4
1
vote
1 answer
redirect all subdomains to main domain (SSL) with subdomain as query parameter using .htaccess
Trying to do all of the following in the .htaccess file in the most elegant way:
redirect all non-SSL to SSL
redirect www to non-www
redirect all other subdomains to main domain with query string parameter as the
subdomain. Ignore any other info in…

Dagon
- 27
- 7
1
vote
3 answers
PHP cake subdomains session link problem?
i have problem with php cake session and subdomains. I have setted all successfully right. When i try to go from
subdomain1.domain.com
to
subdomain2.domain.com
all works nicely when i put these browser url... problem comes when i try to make…

PayteR
- 1,727
- 1
- 19
- 35
1
vote
2 answers
What to choose for Yii based website: subdomains pointing to modules or separate yii-applications
I'm making a website on yii which has several separate parts, each on it's own subdomain like themes.example.com, events.example.com etc with main page example.com where these parts are listed. I will also need to authenticate users across…

Lao Pdao
- 11
- 1
1
vote
0 answers
How to make React app render differently for different subdomains?
I am new to deployment, networking, routing, handling DNS records, etc. and I'm currently working on a project which requires several subdomains to point to a same React app. This front-end app serves a template, to which all subdomains point.…

kelos
- 15
- 5
1
vote
1 answer
Subdomain Doesn't Work With Actual Domain
I have this code:
const app = express();
const accountApp = express();
const publicApp = express();
publicApp.use(express.static(path.join(process.cwd(), "web/dist/public")));
accountApp.use(express.static(path.join(process.cwd(),…

1baz
- 148
- 1
- 9