We help IT Professionals succeed at work.

Configure simple url for internal and external users to access sites on MOSS 2007

Last Modified: 2012-05-05
Hi Experts.

Here is the scenario I have setup 4 servers (W2k3) in the lab environment with static ips. They are able to ping each other DNS and everything looks gr8 from AD side. Now 4 servers are as follow:
DC1--> Primary DC
WEB1--> Sharepoint Server (MOSS 2007)
DB1--> Sql2005 carrying the Database for Web1
ISA1--> ISA 2006

We have an application called Team Center which runs on Sharepoint 2007 and everything is configured as per the recommendations. Now I tested a internal website   http://web1:7071/sites/companyname    and it connects to the site everything looks fine. I am now trying to substitute a simple url for this for example : http://intranet.online.us  only for internal users and http://www.extranet.com   for outside users.
But for now I need to just setup internal link http://intranet.online.us to work. I know it can be achieved in 3 steps 1. DNS entry for that site, 2. IIS configuration and 3. Sharepoint Configuration. But can any of you experts guide me how exactly and which settings I need to use. I am pretty novie and appreciate your guidance.

Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)


Thanks for ur reply but it still show page cannot be displayed Under AAM in Sharepoint it shows as:
Internal Url                                         Zone                          Public URL for Zone
http://web1:7071                            Default                        http://web1:7071
http://intranet.online.us                  Custom                       http://intranet.online.us 

For the time being I am just concerned about internal link. I tried browsing the http://intranet.online.us   on the sharepoint server itself but ut says Page cannot be found :(
I am sure we need to do some setting on IIS as well I read on this site.

Any ideas
It looks like your web application is liteneing on Port 7071, instead of Port 80.  Verify in IIS you have your Web App setup to use Port 80 for http.


Thanks for ur links cmv I have gone through them will check them once again.

Can you elaborate what exactly I need to check in IIS and yes web application is configured on that port 7071.


Before running these steps, verify that no other Web site is running on port 80 on this server.  If it is , add another IP address to the server and assign it to the Sharepoint site.

1).  In IIS, open the Properties of the Sharepoint Website
2). On TCP Port, chnage it from 7071 to 80
3). Click OK

This one is on us!
(Get your first solution completely free - no credit card required)


Under IIS-->WebSites I have
                                                                      TCP Port

Default Website                                               80
Sharepoint Central Administration v3.0           6515
Sharepoint-7071                                             7071

There are couple of other websites but they are on different ports. As I understand adding a host header on port 80 is it under properties of Deafult WebSite --> WebSite tab and click Advanced where under Multiple identities for websites Add port 80 and website. Please elaborate cmv131.

Not sure if I changed the port from 7071 to 80 would that affect anything cause as mentioned above the Default Website point to that port 80.

One more thing if I ping by intranet.online.us I dont get a reply. Is that normal I have dns entry as you suggested. Do you want me to add host entry in respective servers.

Thanks to both of you

When you try to ping your site, does it return any information?  i.e does it resolve them name and IP address?  If not, try and flush your DNS by running  ipconfig /flushdns

As for adding the host header, you are correct with what you hvae stated above.

You would want to add the host header under the properties on SharePoint-7071 not the default website.

If you cannot ping it, I would double check your DNS entries as well.  I can ping all my AAMs by name.  Though when you try to ping it, does it pick up the IP and just time out, or does it not find an entry for it?  On your workstation run ipconfig /flushdns and try again.  

If it picks up the correct IP address and does not ping, and you are using ISA, you will need to allow ping through ISA

at least we are on the same page jkarnes :)


thanks again

Now I have 2 entries under Sharepoint-7071 for Multiple identites:
Default           7071
10.x.x.y          80                 intranet.online.us
this ip is ip of web1 sharepoint server.

Regarding ping to intranet.online.us I dont get reply not even ip address . but if I ping by FQDN for that site intranet.online.us.abc.com   it gives proper reply. Have tried flush n register dns

In DNS I have my Forward Lookup Zones---> Domain-->US-->Online within this I have intranet Host (A)  10.x.x.y  (ip of web1)
I will try to add host entries and verify. Any other suggestions is appreciated
Run an nslookup on your host, and type in intranet.online.us and see if the DNS server is returning the correct response


Bingo that works . So its dns issue I added host entry pointing to intranet.online.us
And its working fine. Able to ping the site and also login with http://intranet.online.us. So how can I check in dns to fix this.
Also any idea how I can distribute the points between two of you. Thanks to both of you
Did you try running an nslookup to see what response the DNS server was returning?


I found it actually I had to create a separate DNS Zone called online.us and then it worked. am I doin right thing? After this nslookup shows perfect address



Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.