Link to home
Start Free TrialLog in
Avatar of janhoedt
janhoedt

asked on

Redirect site, hide url

Hi,

I have this domain www.mydomain.com. I created a redirect underneath it, so www.mydomain.com/mysite goes to my home hosted site (no-ip.com).

It works but not on all browsers, please advise.

This is the redirect.

<frameset rows="100%">  <frameset cols="100%">    <frame src="https://mynoipdomain:8089/" frameborder="0" scrolling="no">  </frameset></frameset>
Avatar of DamjanDemsar
DamjanDemsar
Flag of Slovenia image

this is best done in server configuration.

What Http server are you using?
Avatar of janhoedt
janhoedt

ASKER

It's a hosted http server (one.com), not sure if I can change anything there.
Hmm, ok most hosting sites allow at least partial configuration.... try contacting their support

if they use apache, you can add an .htaccess file, and put redirect directive in it.


if not.... what exactly works and what not with your frame setup
Avatar of Carl Dula
Try adding this code after the HEAD statement, instead of what you have now.


    <meta http-equiv="refresh" content="0"; URL="https://mynoipdomain:8089">

    "0" is the number of seconds before the redirect happens.

If this works for you then move it into your frame setup.
ASKER CERTIFIED SOLUTION
Avatar of Carl Dula
Carl Dula
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the ideas but I d just need one known solid working setup.
Since it is a hosted site and you cannot change the server config, one of these alternates should work for you

 I have used the first one, and it works in all browsers. But I have not tried it in frames.
try .htaccess redirect  first.... this is the only way, that someone, who will try to access a subpage directly will be redirected.
Btw, the "couple of ideas" is exactly where I got my code in the first place.
What solution did you use?