Using domain name


I have an instance with an associated IP for a web server.
I also have 3 domain names at with SSL certificates.
The point is that with gandi, there is a ‘redirect’ option but when I go to the domain supposed to redirect it creates this HTML code and thus, it is not a real redirection

||<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"|
| --- | --- |
||<frame src="[http://XXX.XXX.XXX.XXX](http://XXX.XXX.XXX.XXX/)" name="redir">|
||<p>Original location:|
||<a href="http://XXX.XXX.XXX.XXX">http://XXX.XXX.XXX.XXX</a>|

I surely have seen some ideas on internet but I don’t know what is the best thing to do. So basicaly I just want a redirection to the IP of my instance, but keeping the domain name

Thank you for you time and help !


I’m not really understanding your issue.

at first thought would you not be better using a “.htaccess” file ?

if you explained with some sample IP’s and address ?



You are supposed to create A/AAAA record in ghandi’s DNS that point to your server’s static IP, not redirections.