By accessing page browser switches domain name by ip droplet . How to solve it ? Please please please

December 27, 2014 2.2k views

My droplet configuration: Ubuntu 14.04.1 LTS / Apache/2.4.7 (Ubuntu)

My DNS configuration:
$TTL 1800 IN SOA xxxxxxxx
.... 1800 IN CNAME
In /etc/apache2/sites-available: (two files: )
cat in /etc/apache2/sites-available:

*<VirtualHost *:80>
DocumentRoot /var/www/html
ErrorLog ${APACHELOGDIR}/error.log
CustomLog ${APACHELOGDIR}/access.log combined
in /etc/apache2/sites-enabled (three files) :
000-default.conf.old zzz-default.conf.old
(the file has the same content that before presented)

I have registered my domain in and it's working, in other words, is work but my navigator imediatly changes the domain name by ip server.

I had restarted apache2 service a lot of times.

ASK: What I did wrong? And how can I configurate my server, droplet and what else necessary to keep the domain name in navigator ????
ps.: I don' t have cpanel or vestacp , and I am a newbie. Please help me I 'm in a couple of days in this problem and didn't found a tutorial or help .
I followed this tutorial : but couldn't help me
And others tutorials more.

2 Answers

Log in to your PrestaShop dashboard and browse to Preferences -> SEO&URLs. Scroll down and you should see something like this:

Replace your IP address with your domain name (, not and click on Save.

1º) Ashamed my self!!! It was so easy and I did not see it.
2º) Thanks so much , I would be trying bite my own tail until to discover it.
3º) It work perfectly!
4º) Solved topic!

Have another answer? Share your knowledge.