Skip to main content
Trans Am

Todd Klindt's SharePoint Admin Blog

Go Search
Home
Blog
Netcast homepage
SharePoint Terminology Wiki
  

Todd Klindt's home page > Todd Klindt's SharePoint Admin Blog > Posts > External URLs with WSS v3
External URLs with WSS v3
I've seen on the newsgroups that a few people are having problems publishing sites with v3 externally.  They do the standard thing, forward port 80 on their router/firewall and it should work.  Unfortunately they find that external users are redirected to the internal name of the server and it fails.  This is because v3 introduces some new functionality for external access.  To make the external access work the way you want you'll need to create an Alternate Access Map to the external URL.  Go into Central Administration, Operations and click Alternate Access Mappings under Global Configuration.  It will take to you this screen:
Central Admin
Larger version available here.
 
Click Add Incoming URLs and add the Internet facing address and your site will now work externally as well as internally.  You'll probably want to assign it to the Extranet zone.  Assign an outbound URL as well.  That will allow WSS to use the correct URL when it sends out Alert URLs.
 
tk
 
Update:  This has changed some since Beta2, which is what this post was based on.  Please see my updated post here.

Comments

Internet Facing Address goes where?

Once you click "Create External URL Mapping" your taken to another page with TWO spaces. I'm assuming the external IP goes in the "New default zone URL protocol, host and port space. Correct?

I'm not sure what goes in the Resource space. Does it matter what goes there? Or is it just a description for reference purposes?

--Jess
at 6/29/2006 2:50 PM

Ooops

Jess,
Thanks for the sanity check.  You should use the "Add Incoming URL" option, not the one I mentioned in the original entry.  I have changed it, so as to not confuse anyone else.

Thanks again.

tk
Todd O. Klindt at 6/29/2006 3:06 PM

Add Incoming URL

Cool, got another nifty screenshot of that?
at 6/29/2006 3:32 PM

Add Incoming URL

Or do I still need to do the Create External URL Mapping AND do Add Incoming URL?

Both of them or just the add incoming URL?
at 6/29/2006 3:33 PM

Incoming URL

Thanks for bringing up the screenshot, I'll put a correct one up in a couple of minutes.  :)

You only need to add an incoming URL.  Ignore all the "External URL Mapping" talk.  That only came up because I was rushing to get the blog posted and I messed up.

When I set this up I don't think I manually added the Outbound URL, I think it just came with the Inbound URL when I created it.

tk
at 6/29/2006 4:18 PM

Incoming URL

ok when I click the Add Incoming URL it takes me to another page.
In the upper right hand corner there is a drop down menu for "Alternate Access Mapping collection: No Selection"

Until I change that drop down menu from "No Selection" the Save button at the bottom is grayed out. When I hit the drop down I get a link for "Change Alternate Access Mapping Collection"

If I click on that link it opens another window with a list of SharePoint sites (port) and the URL's for them.

Do I choose the SharePoint(80) ? Since I think that is the default SharePoint homepage correct?

Then in the space for "Add Incoming URL" I put the external IP address I've given it in NAT?

Do I leave the "Zone" drop down menu on Default?
at 6/29/2006 4:41 PM

Incoming URL

Or maybe I should be putting the INTERNAL IP address from the NAT in Incoming URL.

From my understanding of NAT and firewall the computer doesn't know what it's outside IP is, that is all handled by the NAT/firewall.

So SharePoint would only know that its IP address is the internal IP number?
at 6/29/2006 4:46 PM

Incoming URL

You'll want to put your Extenal IP address in there.  Basically you're telling Sharepoint "If you get a request for http://123.45.67.89 that's you, go ahead and answer it."  I put www.toddklindt.com in because that's what the host headers have in them when requests come in from the outside.  I've never done this with IP address, so there's some guesswork on my side.

tk
Todd O. Klindt at 6/29/2006 4:52 PM

SharePoint

Are you using a single server or farm setup?

I'm wondering if your using more than one SharePoint server in your setup if I still need the Alternate Access Mappings for a single server.
at 6/29/2006 7:28 PM

Incoming URL

I have a single box.

Before I put the alternate Incoming URL folks going to http://www.toddklindt.com would be redirected to "http://wssv3test," which is the internal name and of course didn't work for external folks.  Putting in the alternate URL fixed that.  V3 has added zones which lets you differentiate between people coming internally and externally.  I assume adding Incoming URLs is the first part of getting that set up.

tk
Todd O. Klindt at 6/29/2006 8:51 PM

SharePoint Problems !!!

Hi, Todd
I can't find your email address, so i have to post my question here.

I don't know the solution above will be suitable for my case.
we are running sps 2003 evaluation version for testing purpose now.

we have two offices which connected by IPSec and they are on the different subnet.
192.168.1.0/24 and 192.168.2.0/24.
I setup a SPS in the head office(192.168.1.0) with a internal IP(192.168.1.10).
All PCs in the headoffice can IE SPS portal site without any problems.
All PCs in remote office cannot IE SPS portal site, but they can access sharepoint central administration.

All PCs are in one domain which locates in headoffice.

Can you help me?

Thanks
Bo
at 8/31/2006 9:03 PM

Continue Above topic

Hi, Todd

My email address is bo.hu@lawinorder.com.au

Thanks
at 8/31/2006 9:06 PM

Alternate Access Mapping

Hi Todd,
    I try to create a mapping as you said. But it didn't work. It says page cannot be displayed. Is there any other steps i need to before. Plese add also that in this thread.
Thank you
at 11/8/2006 4:10 PM

Alternate Access Mapping

Hi Todd,
    I try to create a mapping as you said. But it didn't work. It says page cannot be displayed. Is there any other steps i need to before. Plese add also that in this thread.
Thank you
at 11/8/2006 4:33 PM

AAM

Can you still get to Central Admin?  Which zone did you add the mapping for?  Have you tried both the old and new URLs to verify they both don't work?

tk
Todd O. Klindt at 11/8/2006 10:52 PM

Thx Dude...

Worked like a charm...
at 11/30/2006 8:36 PM

internal mapping

ok... get this... i am having problems getting INTERNAL people to see the site... but external folk are fine. i want to route everyone (internal AND external) to see the site by IP or A Record ONLY... not by machine name... anythoughts?
at 12/1/2006 10:18 AM

internal mapping

You need to make sure you have a Zone for both internal and external URLs.  If you only have the External URL defined, when users hit the site with the internal URL they will be redirected to the external URL.  Is that what's happening with you?

tk
Todd O. Klindt at 12/4/2006 5:36 AM

I have run in to a problem with Alternate Access Mappings

I had them setup and they stopped working.

http://mysites -- default
http://mysites.mydomain.com -- internet

Now either one or the other works... but not both.
at 12/15/2006 2:03 PM

Question

Hello there!  Thanks for posting such useful content here.  I am just a normal IT guy and don't do any WSS development.  This was causing me great pain.

How does WSS determine where the client device is coming from and to which URL to provide them with.

Eric Hanke
at 12/25/2006 11:48 AM

Question - Eric Hanke

Hi Eric,
Glad to hear this information is helpful.  I haven't done all the research on this, but I imagine WSS matches the incoming URL up with a Zone in the Zones table and then treats the request accordingly.  If you have Forms Based Auth set up for your Internet zone, and the URL you hit the server with matches the Internet zone, WSS responds accordingly.

I hope that answers your question.

tk
Todd O. Klindt at 12/25/2006 12:29 PM

ups

-
at 1/12/2007 2:14 PM

Unbelievable

Wow! you just totally made my day with this.

I would have expected MS to make this much more known. I've spent two weeks in the MS Partners managed newsgroups before something suggested there lead me to your page!

Thanks for the help!

Eric
at 1/18/2007 9:45 AM

Re: Unbelievable

Eric,
Glad to hear it helped.  :)

tk
Todd O. Klindt at 1/19/2007 7:52 AM

Hard to find indeed

I agree with the previous poster, this was not the easiest information to come across and if it wasn't for Google, I'd still be digging :).

Might I suggest a topic for another blog entry: how to deal with users getting prompted multiple times for username/password when opening Office docs from an externally facing WSS v3 site.

Thanks very much for the information!

Shawn
at 1/20/2007 10:18 AM

You make my day!

Hi Todd,

Big thanks to you, I was struggling around with this problem for a couple of weeks now, you made my day!

Another confusing thing for me was, that, when I entered http://sharepoint.domain.com, it redirected me to http://sharepoint, but when I entered http://sharepoint.domain.com/default.aspx, it worked...

Thank you,
David
at 2/28/2007 2:24 AM

Eric Hanke

Hey Eric, did you get your stuff working?

tk
at 3/2/2007 10:07 PM

Can't find add incoming URL's

In AAM incoming URLS option is not there, I only see, Edit, add internal, map to external. What am I doing wrong?
at 3/16/2007 11:26 AM

Re: Can't find add incoming URL's

The screenshots are from Beta2 and the screens have changed.  See my updated blog post at http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=39

tk
Todd O. Klindt at 3/16/2007 11:14 PM

Authentication Issue

The address mapping worked a treat thanks. However, whenever an external host tries to click the <sign in> link they are just brought to a blank white page. Internelly works fine.
Any ideas?

Cheers
at 4/6/2007 10:15 AM

Authentication Issue

The address mapping worked a treat thanks. However, whenever an external host tries to click the <sign in> link they are just brought to a blank white page. Internelly works fine.
Any ideas?

Cheers
at 4/6/2007 11:30 AM

Authentication Issue

The address mapping worked a treat thanks. However, whenever an external host tries to click the <sign in> link they are just brought to a blank white page. Internelly works fine.
Any ideas?

Cheers
at 4/6/2007 11:31 AM

Re: Authentication Issue

First, read my updated blog entry about AAMs at http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=39.  It's got more information and the pictures are based on the RTM code, so the screenshots are more correct.  :)

As for your authentication issues, go into Central Administration > Application Management > Authentication Providers  for your Web App.  Click the zone that your users are coming in to (probably Default) and verify that Basic Authentication is enabled.

tk
at 4/7/2007 11:51 AM

Add SSL

Do you know how to add SSL to this external URL?  I have added SSL to a new 443 site through Central Admin tool and stopped the Port 80 site in IIS.  After this change, only my existing sites are accessible with FQDN (https://sharepoint.xxx.xx.xxx).  If I add new sites they get the short netbios way (http://sharepoint) and don't work.  I believe this involves Alternate Access Mappings but i'm not sure what to do at this point.
at 5/4/2007 8:46 AM

AAM Issue

Thanks for all the info on this topic. I unfortunately am still having issues. I have WSS installed on the DMZ interface of my firewall. I have NAT configured identically for the Outside interface and the Inside interface. Here are the URLs I have configured. 74.8.14.153 is the outside and inside address.
http://gza-sharepointx  Default http://gza-sharepointx 
http://gza-sharepointx.gza.com  Default http://gza-sharepointx 
http://74.8.14.153  Default http://gza-sharepointx 

I am getting "Unable to determine IP address from host name for gza-sharepointx.gza.com" DNS on the sharepoint server and myself is pointing to 74.8.14.153 for gza-sharepointx.gza.com.

Any idea as to what I am doing wrong?
at 5/29/2007 1:42 PM

Re: External URLs with WSS v3

Hello, Your site is great. Regards, Valintino Guxxi
at 7/18/2007 11:08 PM

Please help!!!

I have sharepoint v3 with a web application called portal.mysite.com. I have a named space called portal.mysite.com/home what I I am trying to do is when a user types in portal.mysite.com they are redirected to portal.mysite.com/home.

I have tried a couple of the suggestions above with no luck. Is there any other ideas out there?
at 7/31/2007 8:48 AM

Re: Please help!!!

You can't do this with an AAM.  You could do with with a Content Editor Web Part and put in some HTML code and send your users to the /home page with a "meta refresh" tag.

tk
Todd O. Klindt at 8/8/2007 10:54 PM

Yay

A++
Would ask for help from again
at 8/23/2007 9:30 AM

Good Site! Thanks!

Good Site! Thanks!
at 10/29/2007 11:59 PM

Unable to Update AAM

When I try to add an Internal URL, the save button is greyed out.  When I click on "No Selection" next to Change Alternative Access Mapping Collection nothing happens.

Can anyone help?
at 9/3/2008 9:52 PM

AAM stopped working

Hi Todd,
Not sure if this question fits here but see what you have to say.  3 servers running 1 MS EPM/PWA & SPS 2 SQL Server 3Web Server.   Using AAM so users can enter a realestic name not the server name.   Working fine for a year and a half.    Last night June MS security patches applied and the AAM address stopped working.

Backed out the changes with no effect, still cant access the AAM alternate address.   Monitoring the server it is available however the redirect is failing and showing access to the site but is continual looping on handover to SPS AAM.

Any help would be appreciated.
A beginner in SPS
Thanks,
Kym
  
at 6/22/2009 11:26 AM

Re: AAM stopped working

Hey Kym,
Are you using SPS 2003 or MOSS 2007? If it's SPS 2003, I'm afraid I can't help you. I never touched it. If it's MOSS 2007 the first thing I'd do is make sure you're running the latest service pack (SP2) or at least a couple of patches after the Infrastructure Update. The IU did some weird things to AAMs. If you reply to this, please include your build number. That'll help. Also, what shows up in the ULS logs?

tk
Todd O. Klindt at 6/29/2009 3:58 PM

Re: External URLs with WSS v3

We are using WSS3.0 and have designed a site using the Helpdesk template. the problem is, I designed the site and it works great untill we try to access it from one of our other subnets within our company. It will not get to the site "Page can not be displayed" What do we need to do to allow our site to be accessible from our other subnets?

Any help would be greatly appreciated.

--Barb--
at 10/19/2009 12:31 PM

Don't want to specify the port.

All,

I want the users to connect to my server over internet using the adress www.domain.com. This domain will be linked to the ip of the server. I also want the server to forward all people that connects over internet, using www.domain.com, to be forwared to the port xxx. Is this possible?

E.G: Users type in: www.myserver.com and they get to the sharepoint site www.myserver1:12345

Regards
Erik
at 10/27/2009 10:39 AM

Alternate Access Mappings

Hi
I want someone to help me with Sharepoint services 3.0. When I checkout a document in internet explorer i get error "object ref not set to an instance of an object". I searched on internet and this guy had same issue : http://blogs.technet.com/isablog/archive/2008/10/02/unable-to-check-out-a-document-in-moss-2007-published-through-isa-server-2006.aspx

Please let me know if you can help me with this. My email is hnaushad@dixiesales.com
at 2/22/2010 3:08 PM

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.

Title


Body *


Today's date *

Please enter today's date so I know you are a real person
Attachments