Solved

Redirect site, hide url

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

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

 
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
 

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

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

770 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