Solved

Redirect site, hide url

Posted on 2014-02-19
10
497 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

929 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

10 Experts available now in Live!

Get 1:1 Help Now