Bad ISPConfig redirection

Discussion in 'Installation/Configuration' started by gillesdevals, May 1, 2022.

  1. gillesdevals

    gillesdevals Member


    I have an VPS (ubuntu 20.04) with ISPConfig 3 (installed following

    I have already worked a lot with ISPConfig and know it well.

    I have created a website (/var/www/clients/client0/web1)
    I created two subdomains :
    - sub1 (Redirection L - /sub1/)
    - sub2 (Redirection L - /sub2/)

    Via ftp, I uploaded the corresponding files in the two directories.
    The DNS are pointing to the IP of the VPS

    When I connect to one of the two subdomains (for example , I get a 404 error while the folder and the index.php file exist)
    When I connect to www (for example, I arrive on the apache server test page.

    I had never seen this, can someone help me? Thanks in advance.
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you turn on Auto subdomain www in website settings?
    I am assuming without www the works as you want it to work?
    Show output of command
    ls -lhR web/*
    one level below the website directory (directory that has the websites web/ directory as subdirectory)
    When I have used the website redirect, the L option does not work. I tend to use R,L or R=301,L.
    PS I think you should post ISPConfig questions on ISPConfig forum.

Share This Page