1

2

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I have created a web application for intranet zone. I want to know how to change the port number of the web application? Could I change it directly in IIS manager (is this way safe)?

thanks in advance!

flag

3 Answers

3

Extend your existing web application to a new port ( CA > Application Mgmt > Extend an existing web application > apply new port and/or host header).

You can then delete the old web application using CA.

hth Anders Rask

link|flag
"Another option is to use" -- what is the other option? – George2 Dec 22 at 8:12
If previous default zone is using port 80, how to make a new zone using port 80 by using extension solution as you mentioned? Since port 80 is occupied. Appreciate if you could describe in more detailed steps. – George2 Dec 22 at 8:15
ah sorry forgot to delete. Was about to write about how to use STSADM.EXE to do the same thing. If the zone already has port 80, why do you want to change it? It sounds like your problem is that you want to change zones? – Anders Rask Dec 22 at 13:14
0

When I do this, I am still left with the original application listed with the original URL in my web app list. Also the Name is original and the extended does not show. Also in IIS I now have two sets of folders. I am looking for a cleaned up way to do this so that the old port number is not hanging around anywhere such as in CA or IIS.

Any help would be greatly appreciated.

Neil

link|flag
-1

You need to change it in IIS and in the Alternate Access Mappings in Central Admin.

link|flag
Is it totally safe? No impact for backup/restore (not sure whether DB stores the port number, if so, then if I only change IIS, DB will be inconsistent)? – George2 Dec 22 at 3:55
Previously, I am using IP address for intranet zone in alternative access mapping, and now I want to use IP address for extranet zone. Then I should change in alternative access mapping to map IP address to extranet zone, other than intranet zone? – George2 Dec 22 at 4:36
2 
-1: Changes should never be made directly in IIS. Only SharePoint Central Administration should be used if possible. – Alex Angas Dec 22 at 6:25
But how to change port in Central ADministration Console? – George2 Dec 22 at 6:31

Your Answer

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