Link to home
Start Free TrialLog in
Avatar of it_gsr
it_gsr

asked on

How to Change Sharepoint 2010 Web application URL

Hello Experts,

I would like to change the public url to access my default sharepoint site from

http://portal/sites/coporate/SitePages/Home.aspx 

to http://portal.mycompany.com

I have tried Alternate Access Mappings with no luck.  I keep getting IIS7 logo infront of me when I try using  http://portal.mycompany.com

A simple step by step guide to resolving the issues would be great.
Avatar of theruck
theruck
Flag of Slovakia image

Avatar of it_gsr
it_gsr

ASKER

theruck

the solution in that link did not help me earlier.
so check your DNS and IIS settings what can i say...
ASKER CERTIFIED SOLUTION
Avatar of Justin Smith
Justin Smith
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of it_gsr

ASKER

ACH1LLES,

This is what I have done so far:

I created an A record in my DNS server for "portal"
I created am AAM for http://portal/sites/coporate/SitePages/Home.aspx  to portal.mycompany.com
I edited the IIS bindings for the hostname portal.mycompany.com on port 80
I configured loopback connection check in registry just in case,
I opened port 80 in and out of the sharepoint server.
I stopped the default website in IIS which was running earlier (on port 80)
I restarted the server but still getting HTTP 404, webpage cannot be found

I will prefer creating a new web appication for portal.mycompany.com because I tested with a temp application on port 8088 using the same portal.mycompany.com and it worked. Is there a way I can keep my current sites and restore them to the new application?

Can I use port 80 for the new application without deleting the current application which is using port 80 in IIS?
So when you ping portal.mycompany.com, you get the correct IP address?  If you can access the site using http://portal, then it's not a firewall issue since that is using port 80 as well.  Did you bounce IIS after you added the host header for portal.mycompany.com ?

To answer your other questions, yes you can keep your existing site in the poral web app, and also restore and run a copy of it in a new web app for portal.mycompany.com.  Yes, you can use port 80 for the new web app without deleting the current.
Avatar of it_gsr

ASKER

ACH1LLES,

I got it to work finally, I created a backup of the current website collections and then created a new webapplication with portal.mycompany.com and then restored the backup into the new webapp.
Good to hear.

________________________________________________________________________
Follow me on Twitter!  @justinsmith317