Solved

Mask organization name in website URLs

Posted on 2014-07-22
6
178 Views
Last Modified: 2014-07-22
Our website URLs begin with our organization name at the root level, like this:

OurCompany/OurProducts/ProductA.aspx


How can I mask or remove the organization name at the root level, so that it does not appear in browser search bars?

ie:  The above URL should look like this:

nnnnn/OurProducts/ProductA.aspx

(or simply not display the root level):

OurProducts/ProductA.aspx


(I've seen articles which describe rewriting query string parameters, but I'm trying to mask the organization name at the root level).

I'm using Visual Studio 2010, Visual Basic.Net
Thanks!
0
Comment
Question by:mbizup
[X]
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
  • 4
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
Montoya earned 500 total points
ID: 40211316
Register a different domain name and use that domain name to point to your DNS. This is akin to www.hp.com being the same as www.hewlettpackard.com, with the exception that you won't be using one of the two names.
0
 
LVL 61

Author Comment

by:mbizup
ID: 40211346
Thanks for the reply.

I'm familiar with website programming, but am a real newbie when it comes to publishing sites.

<< Register a different domain name and use that domain name to point to your DNS>>

That would involve a call to the hosting organization, right (ie: it's not something that I would do in the .Net project)?

<<This is akin to www.hp.com being the same as www.hewlettpackard.com>>

Using the HP example, do I need to rewrite any code in my application for this to work?  For example, I have a lot of statements like:

response.redirect "~/Products/ProductB.aspx"

Would the URL automatically display "hp" at the root level, or would I need to adjust the code to not display "HewlettPackard"?
0
 
LVL 19

Expert Comment

by:Montoya
ID: 40211354
if your code is using relative paths, then you should be okay. If you're using FQN, then you will end up doing a lot of rewriting, unless you can simply do Alias. I'll send you a couple of links.

Registering a new name is a pretty simple process. From there, you can use your host's control panel to point to your nameservers. That is a little different with every host, so I don't have instructions on that for you.
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 19

Expert Comment

by:Montoya
ID: 40211357
I dont know if you're hosting IIS or Apache, but here's the link for Apache:

http://code.tutsplus.com/articles/apache-aliasing-and-redirection--net-28606
0
 
LVL 19

Assisted Solution

by:Montoya
Montoya earned 500 total points
ID: 40211360
0
 
LVL 61

Author Comment

by:mbizup
ID: 40211396
Good stuff to get started with - thanks for the help.

I'll post a separate thread if If I have follow up questions.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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…

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