• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 597
  • Last Modified:

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>
0
janhoedt
Asked:
janhoedt
  • 4
  • 3
  • 3
1 Solution
 
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
 
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
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.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now