Solved

Mask organization name in website URLs

Posted on 2014-07-22
6
166 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
  • 4
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
Iammontoya earned 500 total points
Comment Utility
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
Comment Utility
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:Iammontoya
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 19

Expert Comment

by:Iammontoya
Comment Utility
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:Iammontoya
Iammontoya earned 500 total points
Comment Utility
0
 
LVL 61

Author Comment

by:mbizup
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to count occurrences of each item in an array.
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…

743 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

18 Experts available now in Live!

Get 1:1 Help Now