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
Solved

How do I mask a url?

Posted on 2013-12-18
4
370 Views
Last Modified: 2013-12-24
We have a few domains that we redirect to our homepage.  When someone enters one of the domains in their browser (ex www.redirect1.com) it redirects to our web page (www.ourwebpage.com) and shows the redirected url as the name of the page.  We would like the redirected urls all show the actual name of the page instead (www.ourwebpage.com).  Is this something I need to do with our domain registrar or is it a coding thing for the web page?

Thanks!
0
Comment
Question by:jmerulla
  • 2
4 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 39726689
Hi.

If I understand correctly, it sounds like you currently point your different domains to same IP address.  Therefore, the domains mask the fact that you are on the same web site.  Therefore, you need to make a change to the webpages to check if the current URL matches the one you want to display.  If it does not, the site should perform a redirect.  Another way to do this is to configure each domain to its own website.  For the domains you want to redirect, set the redirect option in your web server.

I hope that helps.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39726730
It sounds like you are using godaddy's redirection and masking.  The way that works is it creates an iFrame where the new domain is www.ourwebpage.com that has a frame with www.redirect1.com's content.

If you have a link to www.redirect1.com/page3.html but you always see www.ourwebpage.com, this is the most likely case.

What you need to to instead is redirect the domain on your server with a 301 redirect.  Are you using windows or linux?  Is your hosting with godaddy? or where?
0
 
LVL 2

Author Comment

by:jmerulla
ID: 39727312
Hi,

We have our actual website (www.ourwebpage.com) and have other domains redirect to it via ip address through our domain registrar.  So when you enter www.redirect.com, it goes to the webpage but does not show www.ourwebpage.com in the url it shows www.redirect.com.  Management wants the url that is entered to be the page that shows up after the redirection.  The web page is hosted by HostMySite.com, not GoDaddy if that helps.  Do I need to update info with my domain registrar?  Does the hosting company need to do the fix on the backend?  Does the designed of the page need to update the code?

Thanks!
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39727383
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Config for External Mail 3 22
html border input line 7 13
DNS zone 3 27
Search Item in Table 2 19
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
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…

839 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