Report this

What is the reason for this report?

Getting redirected to ls/ when trying to open http://mysite.com ?

Posted on April 2, 2020

Recently i configured ssl certificate from lets encrypt after sometime my site is getting redirected to ls/ when trying to open http://mysite.com



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there @C9YPT3R,

This sounds like that you have an incorrect redirect rule setup somewhere. I could suggest a couple of things:

  • If you are using WordPress make sure that your Site and Home URLs are set correctly to match your domain name

  • If you are using Apache or Nginx, make sure that any redirects that you have there are setup correctly in your virtual host configuration

  • Check your .htaccess rules and make sure that there are no faulty redirects there as well

  • Check your Apache or Nginx access and error logs

Let me know if you have any questions! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.