OpenVPN- Transfering configuration to client device: Can’t resolve hostname

I was installing OpenVPN in ubuntu 16.04 and and i need to transfer configuration to client device using this command: sftp sammy@openvpn_server_ip:client-configs/files/client1.ovpn ~/. I got an error saying could not resolve hostname openvpn_server_ip: name or service not found. please how do i resolve this problem? Thanks Nnadozie

unable to access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost access all of them. Now, If I try to login WHM, I see that:

HTTP error 401

You do not have permission to access this page.

Also, I cannot access SSH. I don’t know what to do. If I restart server, will the problem be solved?

Why is the Nginx PHP Unit ignoring the root parameter in this configuration file?

I’m trying to move from a multisite WordPress installation into its separate WordPress installation folder. I’ve already setup a separate database and created a new file wp-config.php for the new WordPress installation with the information needed for the new installation. The problem is that when I switch the root parameter in the Nginx configuration file for the old multisite installation folder to the new one, the old website is still loaded by Nginx.


server {     listen      80;     listen      [::]:80;     server_name;     root        /var/www/wordpress_mywebsite/; # <-- this was changed to point to                                                #     the new single site installation                                                #     the old multisite installation                                                #     folder is /var/www/wordpress      if ($  scheme = "http") {         rewrite ^ https://$  server_name$  request_uri? permanent;     }      location / {         try_files $  uri @index_php;     }      location @index_php {         proxy_pass;         proxy_set_header Host $  host;     }      location /wp-admin {         index index.php;     }      location ~* .php$   {         try_files        $  uri =404;         proxy_pass;         proxy_set_header Host $  host;     }      listen 443 ssl; # managed by Certbot     listen [::]:443 ssl; #ipv6only=on; # managed by Certbot     ssl_certificate /etc/letsencrypt/live/; # managed by Certbot     ssl_certificate_key /etc/letsencrypt/live/; # managed by Certbot     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot      ssl_client_certificate /etc/nginx/certs/cloudflare.crt;     ssl_verify_client on; }