a quick fix, but It needs some works
vim /etc/httpd/conf.d/wordpressredirection.conf
<VirtualHost 0.0.0.0:80>
ServerName toto.com
ServerAlias www.toto.com
DocumentRoot /usr/share/wordpress
</VirtualHost>
and
service httpd restart
then go to the panel dns/server_alias of the server manager and declare the domain toto.com
the problem to solve now comes the way where and how wordpress saves the url in its database, please read this https://codex.wordpress.org/Changing_The_Site_URL
In fact my method is good if you install it from scratch, but if you do it on an already installed wordpress, you will find a lot of broken url.