Involuntary Redirect

Discussion in 'Installation/Configuration' started by ZeroEnna, Aug 11, 2023.

  1. ZeroEnna

    ZeroEnna Member

    Hey guys,
    My old machine needs to be replaced, so I try to migrate all websites to a new host, running the latest ISPConfig 3.2.11 and Debian 12.
    My migration scenario is classic: Migrate the database, modify the config.php to connect to the new DB, then migrate the files, then change DNS, done.
    However, I noticed one site is behaving strangely.
    I have a domain named example.com, and a nextcloud instance located under cloud.example.com
    When I change the DNS records (or the /etc/hosts on my desktop), and I try to access cloud.example.com, I get redirected to example.com.
    I have set up the new environment exactly like the old one, but I can't figure out the reason. The logfiles also show me no clear indicated on why this is happening, so I am - to put it bluntly - dumbfounded.
    Has anyone an idea what I could try to solve this problem? Reboot of the server didn't help, clearing my cache didn't help....

    Thanks in advance.
    Kind Regards

    Zero
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Th0m and ahrasis like this.

Share This Page