http keep on redirect to ip address

Hi Guys, Would please to help me, I am new in VPS Development.

I have a new Droplet, And If i access to https, its working fine. But if i access to http, its going to my ip.

I have been setup the networking. and all good.

But its still going there. You can try both here.

Really Appreciate your help. Thanks


Submit an 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 @indramushoddaq,

The error would suggest that your virtual configuration file for the domain with port 80 has a redirection rule. In order to assist you however, I’ll ask if you can provide your vhost configuration file.

Additionally, it’s possible you’ve set a redirection rule in your .htaccess file which works only for http. If you can provide us with the .htaccess file contents of your website it would be great.

Looking forward to your reply!

Regards, KDSys