Redirect to https

Hi,

I m using easyengine on localhost server. I had configured my site in /etc/hosts file (127.0.0.1 example.com www.example.com). But when i open the site on browser it redirects to https instead of http. As a result the site doesn’t opens.

Thanks

Can you post your domain config file from Nginx?

located in /etc/nginx/sites-available/

If you did not add your domain to nginx it wont work.

ee site create domain.com --wp

This command will create the site domain.com create the Nginx Site Config file, and download wordpress, and install it.

Thank you

Actually i removed ee completely and then i installed. Now it works !!!

But i have a new issue. What is the id pass of phpmyadmin? http://www.example.com:22222/db/pma

Thanks in advance

Hi @sujitkumar,

You will get login details of your phpmyadmin by using following command,

cat ~/.my.cnf

didn’t work… Now it shows “Cannot log in to the MySQL server”

HI @sujitkumar

You can reset the password for accessing admin tools using the following command:

ee secure --auth

and if your mysql’s root credential are not working maybe you’ll have reset it ,although you still can login using db credentials in wp-config.php to manipulate site-specific database.

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: