Search found 219 matches

by chris
Wed Oct 15, 2025 7:49 pm
Forum: Apache
Topic: Web-pages time out
Replies: 3
Views: 984

Re: Web-pages time out

I think I found a solution.

In /etc/apache2/apache2.conf
I changed Timeout from 300 to 100

And there is a module reqtimeout
If it is not yet enabled you should enable it:
sudo a2enmod reqtimeout

edit /etc/apache2/mods-enabled/reqtimeout.conf
# Wait max 20 seconds for the first byte of the ...
by chris
Wed Oct 15, 2025 7:24 pm
Forum: Apache
Topic: Web-pages time out
Replies: 3
Views: 984

Re: Web-pages time out

I ready many pages.
Possible solutions are change the apache MPM Prefork
to MPM Worker which uses threads to handle request.
or even MPM Event which is more optimize,and can handle even more request.

But it is a new install and you need an update of php, which might breaks things.
So you should ...
by chris
Wed Oct 15, 2025 6:56 pm
Forum: Apache
Topic: Web-pages time out
Replies: 3
Views: 984

Re: Web-pages time out

find more info in the logs
tail /var/log/apache2/website.log

42.187.xxx.xxx - - [15/Oct/2025:18:05:23 +0200] "-" 408 7229 "-" "-"
42.179.xxx.xx - - [15/Oct/2025:18:05:26 +0200] "-" 408 339 "-" "-"
182.34.xx.xx - - [15/Oct/2025:18:05:28 +0200] "-" 408 339 "-" "-"
42.81.xx.xx - - [15/Oct/2025:18 ...
by chris
Wed Oct 15, 2025 6:37 pm
Forum: Apache
Topic: Web-pages time out
Replies: 3
Views: 984

Web-pages time out

I have a probleme with my website.
Browsers can no longer connect, get timeouts.
Website takes to long te respond.

I don't understand why, the server should have enough resources for the site.
top and free, show that CPU and memory are not a problem.

I increased the number of workers in /etc ...
by chris
Mon Aug 11, 2025 9:59 pm
Forum: Apache
Topic: SOLVED: Show connections to Server
Replies: 1
Views: 70620

Re: Show connections to Server

You can use

Code: Select all

netstat -ln | grep 80
or another way

Code: Select all

ss -ant | grep :80 | wc -l
or for https

Code: Select all

ss -ant | grep :443 | wc -l
by chris
Mon Aug 11, 2025 8:33 pm
Forum: Apache
Topic: SOLVED: Show connections to Server
Replies: 1
Views: 70620

SOLVED: Show connections to Server

Hello, is there a way to see all the current connection to the webserver?
by chris
Fri Aug 08, 2025 12:57 pm
Forum: Postfix
Topic: postfix not sending to host
Replies: 1
Views: 157473

Re: postfix not sending to host

The default have changed,
Add these lines to your config, to tell to use /etc/hosts and not DNS

Code: Select all

lmtp_host_lookup = native
smtp_host_lookup = native
by chris
Thu May 08, 2025 8:23 am
Forum: Apache
Topic: SOLVED: apache forward https request to http
Replies: 1
Views: 193859

Re: apache forward https request to http

Simplest way edit the site conf file in
nano /etc/apache2/sites-available/000-example.com.conf

and add or update:
<VirtualHost *:443>
ServerName www.example.com
redirect permanent / http://www.example.com/
</VirtualHost>

This will redirect and https://www.example.com to http://www.example.com ...
by chris
Mon Apr 14, 2025 7:37 pm
Forum: Servers
Topic: how to setup SPF and DMARC in bind
Replies: 2
Views: 143989

Re: how to setup SPF and DMARC in bind

Options DMARC record

;; [v=DMARC1] ⇒ DMARC version

;; [p=***] : action policy when authentication fails
;; - [none] ⇒ do nothing
;; - [quarantine] ⇒ quarantined in junk mail folder
;; - [reject] ⇒ reject email

;; [rua=mailto:***] : the address to which aggregate reports will be sent
;; * if not ...
by chris
Mon Apr 14, 2025 7:36 pm
Forum: Servers
Topic: how to setup SPF and DMARC in bind
Replies: 2
Views: 143989

Re: how to setup SPF and DMARC in bind

basic description of SPF.

the TXT record itself can have multiple lines,
;; but in SPF settings, only one TXT record can be set for one domain name

;; [v=spf1] ⇒ it means SPF version

;; [+ip4] ⇒ specify IPv4 addresses
;; [+ip6] ⇒ specify IPv6 addresses

;; [+] ⇒ verify your domain's mail server ...