?
Solved

Redirect site, hide url

Posted on 2014-02-19
10
Medium Priority
?
555 Views
Last Modified: 2014-02-21
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
Comment
Question by:janhoedt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 5

Expert Comment

by:DamjanDemsar
ID: 39872671
this is best done in server configuration.

What Http server are you using?
0
 

Author Comment

by:janhoedt
ID: 39872772
It's a hosted http server (one.com), not sure if I can change anything there.
0
 
LVL 5

Expert Comment

by:DamjanDemsar
ID: 39872799
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Expert Comment

by:carlmd
ID: 39872967
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
 
LVL 20

Accepted Solution

by:
carlmd earned 2000 total points
ID: 39872973
0
 

Author Comment

by:janhoedt
ID: 39872986
Thanks for the ideas but I d just need one known solid working setup.
0
 
LVL 20

Expert Comment

by:carlmd
ID: 39872998
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
 
LVL 5

Expert Comment

by:DamjanDemsar
ID: 39873018
try .htaccess redirect  first.... this is the only way, that someone, who will try to access a subpage directly will be redirected.
0
 

Author Comment

by:janhoedt
ID: 39873415
Btw, the "couple of ideas" is exactly where I got my code in the first place.
0
 
LVL 5

Expert Comment

by:DamjanDemsar
ID: 39878830
What solution did you use?
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question