Connection Help

Discussion in 'General' started by kike28101, Apr 19, 2022.

  1. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What does 'apachectl -S' show now? And 'ls -l /etc/apache2/sites-enabled/' ?
     
  2. kike28101

    kike28101 Member

    apachectl -S
    Code:
    VirtualHost configuration:
    *:80                   vps622713.ovh.net (/etc/apache2/sites-enabled/000-default.conf:1)
    ServerRoot: "/etc/apache2"
    Main DocumentRoot: "/var/www/html"
    Main ErrorLog: "/var/log/apache2/error.log"
    Mutex rewrite-map: using_defaults
    Mutex ssl-stapling-refresh: using_defaults
    Mutex authdigest-client: using_defaults
    Mutex ssl-stapling: using_defaults
    Mutex proxy: using_defaults
    Mutex ssl-cache: using_defaults
    Mutex default: dir="/var/run/apache2/" mechanism=default
    Mutex authdigest-opaque: using_defaults
    Mutex watchdog-callback: using_defaults
    PidFile: "/var/run/apache2/apache2.pid"
    Define: DUMP_VHOSTS
    Define: DUMP_RUN_CFG
    Define: ENABLE_USR_LIB_CGI_BIN
    User: name="www-data" id=33
    Group: name="www-data" id=33
    
    s -l /etc/apache2/sites-enabled/
    Code:
    total 0
    lrwxrwxrwx 1 root root 35 Apr  6 00:42 000-default.conf -> ../sites-available/000-default.conf
    lrwxrwxrwx 1 root root 44 Apr 26 16:14 000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost
    lrwxrwxrwx 1 root root 52 Apr 26 16:14 100-caminseivissa.org.vhost -> /etc/apache2/sites-available/caminseivissa.org.vhost
    lrwxrwxrwx 1 root root 43 Apr 26 16:14 i000-spconfig.conf -> /etc/apache2/sites-available/ispconfig.conf
    lrwxrwxrwx 1 root root 48 Apr 22 18:09 ispconfig.vhost -> /etc/apache2/sites-available/000-ispconfig.vhost
     
  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Run
    Code:
    rm /etc/apache2/sites-enabled/ispconfig.vhost
    mv /etc/apache2/sites-enabled/i000-spconfig.conf /etc/apache2/sites-enabled/000-ispconfig.conf
    systemctl restart apache2
    
    And what is in your /etc/apache2/sites-available/ispconfig.vhost file? (cat /etc/apache2/sites-available/ispconfig.vhost will display it)
     

Share This Page