All subdomains are redirecting to main domain

Aftabgardan

Registered
Sep 25, 2012
3
0
1
cPanel Access Level
Reseller Owner
Really? You mean all of my country-mates have the same problem?
I've tested it from many different locations of our country, with many ISPs. It is clear from the number of my online users in one of our subdomains. before this problem online users were 50 but now 2 guys are online. (I open that subdomain by putting the name of that at the end of the main domain)

Any way, I'm guessing our routers have some problems but I don't know what!
Is there a way to signal the routers to flush their DNS table or something like that?

What causes these problems and what's the solution?
I'm not the first and the last one! so it needs to be solved. have a look here:
http://forums.cpanel.net/f5/all-subdomains-redirecting-main-domain-77595.html
and if you google it you can find some people having the same problem...
 

Aftabgardan

Registered
Sep 25, 2012
3
0
1
cPanel Access Level
Reseller Owner
Finally the problem was discovered!! You may not believe but it seems that it is a bug in CPanel, when you transfer a website to a new server, sometimes all subdomains are added as a Parked Domain!!!! You have to go to Parked domain and remove all of them and if it is needed you should remove all subdomains and create them again!!

I just remembered when we transferred our website about 7 years ago, I faced to this problem but I couldn't understand how our hosting solved the problem! but now they told me the problem...

Anyway, I hope this topic would be useful for future and I hope CPanel team review their codes and cover the bug!

Thanks for your help ;)