433 to apache in stead of domoticz

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

433 to apache in stead of domoticz

Post 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

Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Re: 433 to apache in stead of domoticz

Post 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
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: 433 to apache in stead of domoticz

Post 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

Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: 433 to apache in stead of domoticz

Post by RezaRose »

even the var/www/ directory is gone and still getting the apache webpage.... :? (cookies cleared)
Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 433 to apache in stead of domoticz

Post by HansieNL »

Looks like the page is cached.
Try clearing cache or try to load the page in private browser mode.
Blah blah blah
RezaRose
Posts: 65
Joined: Sunday 09 February 2020 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: 433 to apache in stead of domoticz

Post by RezaRose »

That did not work too. I will reinstall again.

Verstuurd vanaf mijn SM-G991B met Tapatalk

Raspberry Pi 4 - Raspbian bullseye - Python 3.9 - stable
Dashticz on apache2 - Mqqt - node red
Zigate - USB Tll - Philips hue - Ikea - Innr - Xiaomi - TPlink - Nest -v3
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests