Cannot open my site with (my domain), cannot renew my certification (timeout)

This is a followup on my previous question that I haven’t been able to solve cert failure


<VirtualHost *:80>
        ServerAdmin webmaster@localhost


        DocumentRoot /var/www/html

        <Directory /var/www/html/>
            Options FollowSymLinks
            AllowOverride All
            Require all granted

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

I tried following the certbot but unfortunately I get a timeout for both domains (and I cannot access them), I cannot use, but I have to use

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey, @nikolamilovic

Thanks for providing the screenshot. The WordPress installation is indeed hosted in the /var/www/html directory.

I wanted to double check this with you because the usual setup will include to have one additional directory in the /var/www/html which will have the have the domain name as the name of the folder and the site files will be hosted there.

Have you tried to execute strace in order to further troubleshoot the issue? It is a powerful command line tool for debugging and trouble shooting programs in Unix-like operating systems such as Linux. It captures and records all system calls made by a process and the signals received by the process. It displays the name of each system call together with its arguments enclosed in a parenthesis and its return value to standard error; you can optionally redirect it to a file as well.

You can navigate to /var/www/html the directory and execute.

strace -vvv -s 10000 php index.php

To write the trace messages sent to standard error to a file, use the -o option. This means that only the command output is printed on the screen as shown below.

strace -o debug.txt php index.php

To look through the file, use cat command.

For additional information, see the strace man page.

man strace

Regards, Alex

Hello, @nikolamilovic

It seems like the site is taking too long to long. Have you tried restarting the Apache server? The server also might be running out of Apache workers to handle to requests and they simply build a queue and the request will be served when there is a free/spare worker to handle the process.

Regards, Alex