Customers subdomain shows as maindomain/subdomain

nyjimbo

Well-Known Member
Jan 25, 2003
1,133
1
168
New York
I have a customer that has about 25 active, normally functioning subdomains. He just added a new one and when he tries to use a browser to check it out, he sees the main domain/subdomain:

The new subdomain is REDACTED.com
If I use Chrome on a desktop it shows the site and subdomain in the address bar as normal.

However if I use firefox, edge and others OR if certain customers use Chrome, they see otherdomain.com/REDACTED.com
which is the main domain that the REDACTED site is subdomained under.

I can't find anything different between this subdomain and the others. Anybody have a clue whats wrong ?
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,874
907
313
cPanel Access Level
Root Administrator
Hey there! I removed the public domain information from your post for security reasons.

I checked the domain on my end and I see that there is a 302 redirect that specifically calls the parent site as you are seeing in Firefox:

Code:
# wget domain.com
--2021-06-24 15:08:43--  http://domain.com/
Resolving domain.com (domain.com)... 1.2.3.4
Connecting to domain.com (domain.com)|1.2.3.4|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.parentdomain.com/domain.com/ [following]
--2021-06-24 15:08:43--  https://www.parentdomain.com/domain.com/
If I had to guess, and I do since I don't have access to the system, this seems like an https redirection issue or other SSL problem with the way the redirect to https is being handled, since if I specifically visit Domain.com I don't get the redirect to the parent domain.