Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was wondering if it was possible to change the way a sharepoint 2010 URL displays. For example, if the real URL is, "http://intranet.myco.org/sites/intranet/default.aspx", can this be changed to display and to go to "http://intranet.myco.org"? Our users find the long URLs difficult. Thanks!

share|improve this question
add comment

4 Answers

Those are fundamentally 2 different places.

If you want people to go to the root URL, then provision a site collection in that web application and they can just go there directly.

share|improve this answer
    
Alternatively, keep the site provisioned where it is, and assuming there is nothing in the intranet.myco.org, provision a site collection there and just use a redirect to redirect the user to the /sites/intranet site collection. I'd probably just do a site collection backup/restore and place the /sites/intranet into the root site collection of the web application, like PirateEric suggests. –  Brian Mar 23 '12 at 19:45
    
By the way, if you don't have a Site Collection provisioned in the Web Application root, certain client functionality (for example from Office Clients) may not work as expected. I ran into this with InfoPath: social.technet.microsoft.com/Forums/en-US/… –  Brian Mar 23 '12 at 19:51
add comment

Go to Central Admin->Application Management-->Configure Alternate Access Mapping

Click On Add Internal Urls--> Add ur new host name and port number selecting your webapplication. Also Select your zone.

Save it there and go to your IIS and select your web application and set the bindings to new host name(www.intranet.myco.org). Include your port number and save that.

Add host record in your DNS Server.

That should work.

share|improve this answer
    
It appears he has already done so, and is asking about URL Rewriting, not Alternate Access Mapping –  Zork Mar 23 '12 at 19:02
    
You could use the Alternate Access mappings if, for example, you had the site collection provisioned at the web application root (i.e. intranet.myco.org) and wanted to simply access it via intranet. –  Brian Mar 23 '12 at 19:46
add comment

Please see the following link for information on URL Rewriting...

Support for URL rewriting?

share|improve this answer
add comment

Actually, look at using Host Named Site Collections. Here is a starting point: http://technet.microsoft.com/en-us/library/cc424952.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.