• Discussion
  • abc.com Redirects to def.com Despite Separate Configuration in aaPanel

Hello, I’m experiencing an issue with my VPS running aaPanel. I have two domains, abc.com and def.com. The abc.com domain works fine, but when I visit def.com, it always redirects to abc.com, even though they are configured as separate websites. I've tried accessing def.com via both HTTP and HTTPS, but the problem persists. I even deleted the abc.com domain from aaPanel, but def.com still redirects to it.

I have checked the website settings in aaPanel, cleared browser and DNS caches, and ensured that both domains have their own separate configurations. I'm unsure if there’s a misconfiguration in Nginx/Apache or a lingering redirect that I’m missing. Any advice on how to resolve this would be greatly appreciated!

    hamades300

    Did the domain def.com enabled the SSL Certificate with validation on its domain name correctly? Please help provide info if the SSL certificate has successfully enabled for both domain abc.com and def.com separately.

    If the domain def.com does not enabled SSL certificate or using copied SSL Certificate from abc.com, it will redirected to its certificate holder domain name.

    Hello, please check whether the access protocol is correct? Will it automatically jump to a website where SSL has been deployed? If so, please deploy SSL to this website as well.

    hamades300