Question

i have created droplet and logged in to server created. but worpress console not coming

Posted August 16, 2019 169 views
DigitalOcean

i have created droplet and logged in to server created. but worpress console not coming

with ip/wp-admin/ its not loading the wordpress admin console instead it is showing page not found.

if i use only ip it is redirecting to html page.

please need help. as i need to pay for every hr need immediate fix

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.

×
1 answer

Hello, saidesh

May I ask if you have pointed any domain name to your droplet or you’re just using the droplet’s IP address?

Also are you using Apache or Nginx? You can check the configuration file and see the virtual host for the IP block, because it’s most probably pointed to directory different from where the WordPress installation is.

If that is the case you can adjust the path to point to the WordPress installation.

In Apache the virtal host should be something like:

Listen 80
<VirtualHost *:80>
    DocumentRoot "/www/example1"
    ServerName www.example.com

    # Other directives here
</VirtualHost>

On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations:

/etc/apache2/httpd.conf
/etc/apache2/apache2.conf
/etc/httpd/httpd.conf
/etc/httpd/conf/httpd.conf

In Nginx:

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;
        index index.html index.htm index.nginx-debian.html;

        server_name _;

        location / {
                try_files $uri $uri/ =404;
        }
}

All NGINX configuration files are located in the /etc/nginx/ directory. The primary configuration file is /etc/nginx/nginx.conf

Let me know how it goes

Alex

  • i have created wordpess droplet and added domain. on clicking on ip it is redirecting to html page f website. and now iam in root directory and i cant find any files here with ls command. why installation processes is this much complex and there is no proper documentation and instant phone help. how can i trust this even in future

  • can i get some information or commands which a normal user can understand?

    • You can try to find the WordPress installation and then update the root directory path in the configuration file with the location of the WordPress installation.

      If you’re having issues to do this, you can let us know if you’re using Apache or Nginx and then copy the content of the file here so we can help to adjust this.

      If you can’t find any WordPress installation you can install WordPress manually as well.

      Let me know how it goes.

      Alex

Submit an Answer