Solved

Redirect site, hide url

Posted on 2014-02-19
10
511 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

How our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending an input value from a view to a controller in MVC 3 22
PHP Curl to output a url 7 46
Need HTML output in powershell line by line 3 25
Javascript 2 17
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

790 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