Solved

Redirect site, hide url

Posted on 2014-02-19
10
488 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
  • 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
 
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 500 total points
ID: 39872973
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now