Question

http keep on redirect to ip address

Posted April 29, 2020 253 views
Apache

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

https://darulmutaallimin.com/
http://darulmutaallimin.com/

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.

×
Submit an Answer
1 answer

Hi @indramushoddaq,

The error would suggest that your virtual configuration file for the domain darulmutaallimin.com 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