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 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)?

share|improve this question
add comment

3 Answers

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

share|improve this answer
    
"Another option is to use" -- what is the other option? –  George2 Dec 22 '09 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 '09 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 '09 at 13:14
add comment

Deleting IIS site will make you loose all your customizations including web.config changes. So Don't do it!

There is an easiest way to change SharePoint Web Application Port by updating IIS bindings and Alternate Access Mappings. Find the detailed instructions here: How to Change Sharepoint Web Application Port

share|improve this answer
add comment

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

share|improve this answer
    
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 '09 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 '09 at 4:36
3  
-1: Changes should never be made directly in IIS. Only SharePoint Central Administration should be used if possible. –  Alex Angas Dec 22 '09 at 6:25
    
But how to change port in Central ADministration Console? –  George2 Dec 22 '09 at 6:31
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.