redirects to http://myip

December 19, 2013 1.1k views
If i type the url i get http://myip instead of my domain name. I have checked ServerName, ServerAlias directives.. The point is that works fine and i get my Ajenti login page without the url being changed. So.. it seems to be a misconfiguration between Apache and Ajenti ?? Any help would be appreciated. PD: i have DNS records A @ CNAME www @
2 Answers
What operating system are you running? Apache on Ubuntu is different than Apache on CentOS.
Debian, but i have just figured it out!! :-) I had installed prestashop and it seems it has a default seo redirection to the ip. Changed it to my domain and it works fine.

Thanks for the reply
Have another answer? Share your knowledge.