Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > Update to using External URLs with WSS v3
March 06
Update to using External URLs with WSS v3
I've received a lot of comments about this blog post I wrote outlining how to use WSS v3 and MOSS 2007 with external URLs.  Since I wrote that SharePoint v3/2007 has gone RTM and I've learned a few more things about how Alternate Access Mappings work.  Seemed like a time for an update.
First, a recap.  WSS v3 handles incoming requests a little differently than WSS v2 did.  Seasoned SharePoint administrators had a little trouble getting v3 to work with Internet URLs, like, even after creating the correct DNS entries and forwarding the correct ports.  Users that hit the external URL would get redirected to the hostname of the WSS server, in my case http://matrix.  No amount of swearing or gnashing or teeth would convince SharePoint to cooperate.
The v2/2003 versions of SharePoint didn't handle being behind reverse proxies very well out of the box.  The methods that it used to generate URLs weren't very compatible with the reworking of URLs that reverse proxies do.  Support for this was added in SharePoint v3/2007 and it gives administrators a lot of flexibility.  Unfortunately it adds some complexity as well.  The key to bending SharePoint to your will is Zones and Alternate Access Mappings.  A picture is worth a thousand words.  Here's how the settings look before you change them.
You can see there is a single entry that has matching Public and Internal URLs.  Public URLs are the URLs that users use to access your site.  The Public URL for this site is for Internet users.  The Internal URL will only be different if there is something between the user and the SharePoint server like a reverse proxy.  In our case there's not, so when we create our Alternate Access Mapping (AAM) both URLs will be the same.  Click "Edit Public URLs."  In the box below Internet type the URL that you want your users to use when they access your site.
In this screenshot the machinename is MVP, but the URL I want Internet users to use is  Hit Save and your AAM settings should look like this:
Now internal users can hit your site at http://mvp and Internet users can hit it at  If you prefer to make these changes via the command line use the following command:
stsadm -o addalternatedomain -url http://mvp -incomingurl -urlzone internet
If you have other URLs that you'd like to use, you can add them to the other Zones.  The only address that must be defined is the Default.  That's the URL that is used in quotas and other administrative purposes.
Later I'll cover Zones more and how they work with Alternate Access Mappings and user authentication.
Let me know if this helps, or if you have any questions.


Test from tk

Please send me an email.
Todd O. KlindtNo presence information on 3/8/2007 9:03 AM

Great Post Todd!

Thanks for the great information
 on 3/10/2007 10:32 PM

You are a worthless human being

its true. I hate to say it but its true.
 on 3/18/2007 3:04 PM

Re: You are a worthless human being

It's great to have fans.  :)

 on 3/18/2007 11:17 PM


Good stuff, but Zones...covered them yet?
 on 3/19/2007 11:32 PM

Re: Zones

I haven't written any blog entries up about zones, but I certainly could.  Anything in particular that you'd like to see covered, or just a general introduction?

Todd O. KlindtNo presence information on 3/19/2007 11:40 PM

Everything you said...

Will be ignored. I will then whine about it not working, while continuing to ignore your advice. Boo hoo woe is me. (runs off to wallow in his vagina)
 on 4/11/2007 10:32 PM


Nope this doesn't work. Have any other solution?
 on 4/14/2007 10:47 PM

good explanation.

thx. this makes sence to me now. can not wait your user authentication article
 on 4/26/2007 11:39 AM

I like it but...

I was wondering what you have to do in order to point your website to the server?  I don't want to mess the existing company website or webmail up in the process.  Any suggestions?
 on 5/1/2007 8:57 AM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.


Body *

Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person


Want a message when I reply to your comment? Put your Twitter handle here.