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>
janhoedtAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DamjanDemsarCommented:
this is best done in server configuration.

What Http server are you using?
0
 
janhoedtAuthor Commented:
It's a hosted http server (one.com), not sure if I can change anything there.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
DamjanDemsarCommented:
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
0
 
carlmdCommented:
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.
0
 
janhoedtAuthor Commented:
Thanks for the ideas but I d just need one known solid working setup.
0
 
carlmdCommented:
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.
0
 
DamjanDemsarCommented:
try .htaccess redirect  first.... this is the only way, that someone, who will try to access a subpage directly will be redirected.
0
 
janhoedtAuthor Commented:
Btw, the "couple of ideas" is exactly where I got my code in the first place.
0
 
DamjanDemsarCommented:
What solution did you use?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.