7

I have iRedmail installed on my server, it installed apache with it, when pointing to my domain name, it redirects to mydomain.com/mail - which I would like to prevent. The default index.html file had a header refresh to url="mail", I removed this, but still its doing the redirect. What am I missing? Thanks

5

Delete the /var/www/index.html (where there is the redirect advice for the browser) AND clear browser cache/use another browser (I checked it with iPad and found that Chrome used the cache, where there was the page with redirect advice [http 302]).

2

Okay, after clearing my cache its now working. So the answer is to remove the meta refresh from the head tag of the default index.html file in /var/www/html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.