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

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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