Reset Apache webserver

Hello Community,

is there a possibility to reset the apache server? I’ve tried to make a local webinterface reachable
via internet and saved a webinterface.conf in /etc/apache2/sites-available/. After reboot the device
i can’t reach the resource neither the kopano webapp…

Get into the shell with SSH and get your backup file into position - hope you have made a backup from the original conf-file.
No backup - No mercy …

Hello FrankAusNRW,

i didn’t changed anything in the original conf-file and by the way which one is the original file?
I’d just added the webinterface.conf file to the folder.

is there anybody out there who can give me a hint what i can do?

Just move your conf-file to somewhere else and restart the apache server.
Maintain your additional conf-file and try again.

Hello FrankAusNRW,

thanks a lot for your answer. That’s exactly what i had done right after the apache-server wasn’t reachable anymore.
Could it be that my config file corrupted something? That’s the content of the File:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName meine-solaranlage.de ; the original "domain is the myfritz address from the Fritzbox"

    ProxyPreserveHost On
    ProxyPass / http://192.168.178.1/
    ProxyPassReverse / http://192.168.178.1/

    ErrorLog ${APACHE_LOG_DIR}/solaranlage_error.log
    CustomLog ${APACHE_LOG_DIR}/solaranlage_access.log combined
</VirtualHost>
Mastodon