• Resolved eitanc

    (@eitanc)


    Hello,

    I have a “side” wp site for tests.
    Thus, it does not have a public internet DNS record and I access to it using a local client side hosts file.

    I tried to run backwpup on it but naturally if failed (the famous “10 seconds” error) and the settings > information page I see the error of “Server self connect WP Http Error: cURL error 6: Could not resolve host: <site-fqdn>”.

    So, at the hosting linux server, I added the FQDN name to the hosts file, to 127.0.0.1.

    Now, if from the CLI console of the server I run “curl <server-fqdn>/wp-cron.php” – I get the page’s content.

    But, at the plugin I still get the error from above.

    I tried to restart the httpd service, but it didn’t help.

    Is it possible that your curl test force a DNS query and doesn’t simply run the curl test and letting linux do the resolving (hence use first the local hosts file as a resolver)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @eitanc
    you said you got the site page content?
    hmm, normally it should just show a blank page when access wp-cron.php, could you give me the full server info(BackWPUp -> Settings -> Server info tab)
    Thank you!

    Thread Starter eitanc

    (@eitanc)

    Sorry, my bad, it was 404 (with some HTML for its message).
    I removed the name from 127.0.0.1 and added it to the hosts record of the external IP of the server and now it is all fine.
    Thanks!

    @eitanc
    I’m happy to hear that ^^

    If you find BackWPUp is useful for you, we would really appreciate in case you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support 😀
    https://wordpress.org/support/plugin/backwpup/reviews/

    Thank you so much and have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hosts file’ is closed to new replies.