Is it possible to switch the port of a web application after it is created
For instance, I have a web app that is currently on port 82. I would like to switch it over to port 80 and add a host header in IIS to access that particular site. It seems that you just can't reconfigure IIS to do this. Sharepoint is still wants to see the web app on the port that it was created under.
If it is not possible I suppose I can just take care of it with DNS.

Switching Web Applicaiton Ports
lorenzosjb
What are the symptoms of it not working for you
PhilippCH
You should change the zone setting (i.e. address) for you webapp. Please go to Central Administration > Operations > Alternate Access Mappings > click the desired URL here. Here you have an option to change the address. Set it to whatever you want and click OK. IIS should reflect it itself (try iisreset if it doesn't). This worked for me. If IIS settings are still wrong after all this then you may try to set them manually.
Good luck
senthil_palraj_e81a78
The error I get back in the browser from http://<host header> is:
Very odd...it's like it has trouble retrieving default.aspx.
If I try to access http://<host header>/default.aspx, IIS returns a 404 File Not Found error.
I get the same 404 for any other page I try to address directly, including sharepoint web services.
I can access unmanaged files out of the site though which tells me that the site is responding correctly to requests, it's just that sharepoint doesn't seem to be grabbing the requests for its pages.
Harpreet Singh