I can't access HTTP pages

When I installed cyberpanel I could access the websites from http or https, but from one moment to another, I can’t access via http, how can I solve this?

I already verified and port 80 is open and working correctly.

The operating system is Ubuntu server 20.04

Thank you.

Welcome @andres900902 Happy you are here

Post a screenshot of the error you get when you visit the website

Hello! How’re you?

This is a screenshot when try access to website http://www.appfussion.com.

in right side, is acceding to the same page but from https://appfussion.com

thank you very much.

Check your hosts file

cat /etc/hosts

Increase the memory limit of your website

define( 'WP_MEMORY_LIMIT', '800M' );

This is a result of run the command, but i don’t understand, i only view ip v6

Wait website loads up with https but not with www. That is what i have seen. Is this the issue?

Yes, is this the issue.

You need to create a CNAME record for www on your DNS manager at https://cliente.hostgator.com.br/

but it doesn’t matter if I put the www or not, it depends if I enter with http or https

If its https/http issue did you check if you are not forcing ssl in your wordpress website?

  1. Check your wp-config - comment out the ssl directive
  2. check .htaccess - comment out all ssl directives

at this moment yes, it is forcing http to https

but the strange thing is that I have several sites that are not developed with wordpress and still the same thing happens.

Checkout if you have rewrite rules

I just deleted them, and even so it won’t let me log in, do I have to restart any service?

Log into wordpress? You can restart the server

I’ll try restarting and see what happens.

Thanks, now I’m commenting.

It does not work.

And I just realized that locally, that is to say from the console with the wget command, if it brings up http pages from the same server, and if it works, which makes me think that ubuntu is not allowing external connection via port 80, but I don’t know why. where else to check

Wrong it does. Assuming you have a local copy of your wordpress website and do not need your mailboxes tied to that domain delete the website completely and setup a new website with that domain. Do not add ssl please