• Hello there,

    I’ve went through all the WordPress installation instructions, also followed another external article since I’m using their droplet, also checked a few Youtube videos, but for everything I’ve done, I’m still getting the error below when I visit /wp-admin/install.php:

    404 Not Found
    nginx/1.18.0 (Ubuntu)

    I’ve made sure my “wp-config.php” contains all the details of my database:

    define( 'DB_NAME', 'geniusatwork' );
    /** Database username */
    define( 'DB_USER', 'geniusatwork' );
    /** Database password */
    define( 'DB_PASSWORD', '<my_password>' );
    /** Database hostname */
    define( 'DB_HOST', 'localhost' );
    /** Database charset to use in creating database tables. */
    define( 'DB_CHARSET', 'utf8' );
    /** The database collate type. Don't change this if in doubt. */
    define( 'DB_COLLATE', '' );
    define('FS_METHOD', 'direct');

    Also included:

    define(‘WP_HOME’,’https://geniusatwork.cf;)
    define(‘WP_SITEURL’,’https://geniusatwork.cf;)

    I’ve copied the content of the “wp-config.php” on /var/www/html/wordpress and also on /var/www/wordpress adjusted permissions accordingly, moved installation files to both folders, also checked Nginx settings to ensure they have the configuration intended, but nothing seems to work, I’ve 5 days trying to fix this but no success at all, I feel very frustrated and sad for this.
    Any help you can provide on this would be greatly appreciated.
    Thanks.

    • This topic was modified 2 years, 2 months ago by eduarguz.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems your document root for the domain is not pointing to the correct directory where the WordPress files are located.

    The homepage of your domain is showing the text “Success! GeniusAtWork is ready to go!”. This is not from WordPress, and neither is it Nginx’s default welcome text.

    It seems this text is from a custom index file you created.

    Now check the directory /var/www/wordpress. Do you find an index file containing this text there? I’ll doubt so.

    Wherever the index file containing the text “Success! GeniusAtWork is ready to go!” is located… that is the directory that is currently configured as the document root for the domain. You want to EITHER move your WordPress files here, or edit your Nginx config for the domain to point the root to /var/www/wordpress.

    In the end, this is not a WordPress problem at this stage. It’s a webserver config problem.

    Thread Starter eduarguz

    (@eduarguz)

    Hi George,

    Thank you for your guidance. I posted all the details I followed for this on stackoverflow, since as you stated this is a server configuration issue.
    If you know the answer go for it, otherwise I appreciate all your help.

    The code block you pasted after the “Also included:” line in your first message is broken. Instead of:

    
    define(‘WP_HOME’,’https://geniusatwork.cf;)
    define(‘WP_SITEURL’,’https://geniusatwork.cf;)
    

    It should be:

    
    define('WP_HOME','https://geniusatwork.cf');
    define('WP_SITEURL','https://geniusatwork.cf');
    
    • This reply was modified 1 year, 11 months ago by Optimocha.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting 404 Not Found nginx/1.18.0 on installation script’ is closed to new replies.