Page 1 of 1

433 to apache in stead of domoticz

Posted: Monday 16 August 2021 19:12
by RezaRose
Because my pi 3 died I have bought the pi 4 and start the installation.

For using controlllicz I installed the certificate with certbot. But I used the wrong command. I used auto certbot for apache. And now if I use my domain name I get on the apache site.

I think the auto install made a change to some configuration, but I do not know where to start.

I de-installed certbot and apache, but still I get the apache site when I surf to my domain.

Somebody know where I have to look?



Verstuurd vanaf mijn SM-G991B met Tapatalk


Re: 433 to apache in stead of domoticz

Posted: Monday 16 August 2021 21:35
by AllesVanZelf
Assuming you are using Raspberry Pi Os/debian
Certbot asked you if you would like to redirect http traffic to https.
A yes will create a line like:

Code: Select all

Redirect / https://..... 
In the file:
/etc/apache2/sites-available/000-default.conf
you could comment, or remove that line.

Certbot also created a new file, something like: default-ssl.conf
You can disable this 'ssl site' as:

Code: Select all

sudo a2dissite default-ssl.conf

Re: 433 to apache in stead of domoticz

Posted: Monday 16 August 2021 21:47
by RezaRose
Tank u for a answer. I fully removed apache. The files you are talking about do not exist anymore.

Verstuurd vanaf mijn SM-G991B met Tapatalk


Re: 433 to apache in stead of domoticz

Posted: Monday 16 August 2021 23:17
by RezaRose
even the var/www/ directory is gone and still getting the apache webpage.... :? (cookies cleared)

Re: 433 to apache in stead of domoticz

Posted: Monday 16 August 2021 23:33
by HansieNL
Looks like the page is cached.
Try clearing cache or try to load the page in private browser mode.

Re: 433 to apache in stead of domoticz

Posted: Tuesday 17 August 2021 0:19
by RezaRose
That did not work too. I will reinstall again.

Verstuurd vanaf mijn SM-G991B met Tapatalk