Error 404 accessing domain, over IP works

April 20, 2019 507 views
CMS Configuration Management DNS Initial Server Setup Networking WordPress Ubuntu 18.04 Ubuntu

Hello!

I created a droplet with WordPress LiteSpeed to migrate my current site that is in another hosting.

My site is "techlandia.com.br"

I changed Domain DNS to Digital Ocean and created 2 new A records:

"@" to "159.65.33.89"
"www" to "159.65.33.89"

Accessing my site with the domain happens the error 404. Accessing through IP is all right.

I did not make any changes, it's a clean installation.
Has anyone ever had anything like this?

3 comments
  • I am reaching techlandia.com.br without issue (Ola Mundo). However, it resolves to http://142.93.9.122/, not the IP that you listed. Accessing that IP directly also works, but the IP which you listed (159.65.33.89) does not.

    Maybe you were just waiting on DNS propogation? And maybe also you've got a couple of droplets mixed up?

  • Hello NiloCK.

    I destroyed that Droplet. I created a new one without LiteSpeed which is on the IP http://142.93.9.122

    The error remains, works on IP but not on the address: techlandia.com.br

    However, this time the error that occurs is TIME OUT and not 404

    My domain is with the Digital Ocean DNS and I set up the @ and WWW records by directing to IP 142.93.9.122

    I really have no idea what that might be.

  • Now are working! Thanks!
    HTTP(S) & CACHE grrr

3 Answers

Have you found an update to this problem? I have the exact same thing happening to me now.

  • Hey, Jonathan.

    The error that happened was of HTTPS. I did not have SSL installed but was configured to redirect to HTTPS, so I accessed with HTTP and not HTTPS.

    Then I even changed the WordPress address in settings. It was the IP, I changed it to the domain.

Check the connection to the database and see http / https version. Is it also possible that the file is htcss?

The solution worked for me thanks to the community and the members for the solution.

Have another answer? Share your knowledge.