Using domain name

#1

Hello,
I have an instance with an associated IP for a web server.
I also have 3 domain names at gandi.net 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"|
| --- | --- |
||"http://www.w3.org/TR/html4/frameset.dtd">|
|||
||<html>|
||<head>|
||<title>XXXXXX</title>|
||</head>|
|||
||<frameset>|
||<frame src="[http://XXX.XXX.XXX.XXX](http://XXX.XXX.XXX.XXX/)" name="redir">|
|||
||<noframes>|
||<p>Original location:|
||<a href="http://XXX.XXX.XXX.XXX">http://XXX.XXX.XXX.XXX</a>|
||</p>|
||</noframes>|
||</frameset>|
|||
||</html>|

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 !

#2

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 ?

Brian