Follow the steps below if you need to know how to set up DNS for a SharePoint site.
- Go to Central Administration
- Go to Operations tab. Under Global Configuration section, select Alternate access mappings
- On Alternate Access Mappings page, click on Edit Public URLs
- Select Alternate Access Mapping Collection, i.e. your newly created website
- Under Intranet type in the internal web address that you would like for your site
- Under Internet type in the external (public) web address that you would like for your site
- Click “OK” when finish”
- Remote desktop to the MOSS server farm where your SharePoint site was deployed
- Go to IIS Manager
- Expand the Web Sites folder, right click on your website
- On the Web Site tab, click on the Advanced button. Click “Add” button
- On the Add/Edit Web Site Identification screen modify to suit your site according to the following: IP address: (All Unassigned)
- Click OK to save all changes
- On the Web Site tab, click on the Advanced button. Click Add.
- On the Add/Edit Web Site Identification screen modify to suit your site according to the following: IP address: (All Unassigned)
- Click OK to save all changes. (OK for couple of screens so that you are looking at main IIS Web Sites folder)
TCP port: 80 (has to be 80)
Host Header value: (This is the external/public address of your website that was entered in step 6)
TCP port: 80 (has to be 80)
Host Header value: (This is the internal address of your intranet website that was entered in step 5)
Testing that the DNS works
- On your local machine, open Windows Explorer
- Go to C:\WINDOWS\system32\drivers\etc folder and open up the hosts file.
- Add the IP address entry corresponding to your website i.e. xxx.xxx.xxx.xxx <extranet/intranet URL>
- Save the file
- Open IE browser and type in the extranet/intranet URL to check that you can access the site. If you can view the site, then you have setup DNS.
Reference:
http://sharepointdotnetwiki.iblogger.org/2009/12/dns-setup-in-sharepoint/
No comments:
Post a Comment