Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use nice FQDNs for teamsites

Status
Not open for further replies.

Nighty

IS-IT--Management
Jun 7, 2005
3
NL
I have one Sharepoint server which is hosting multiple teamsites. For example:
- -
What I would like to do is give the user a nice FQDN to connect to the site. For example teamsite1.domain.com and teamsite2.domain.com. Does anyone have an idea how to do this??

Thanks!!

Yorick
 
Hello,

Create a host record in your DNS and then you can use hosthearders in your IIS (website) configuration, that is the way I have setup one of our environemnts.

Example how we have done: In the DNS create a CNAME host record teamsite1.domain.com and point it to your server1 name. Then in the IIS on the website chose properties and add teamsite1.domain.com in the hostheader field for yout teamsite1 name.

Regards,
Thomas
 
Thomas,

Adding an HostHeader name to a site unfortunately does not work. The only thing your achieve is that the site can also be reached in the added name. What I would like is that a FQDN points to a subsite instead of a IIS virtual server. For example:

When I connect to the url I am connected to the site And when I connect to the url I am connected to the site
Regards,

Yorick
 
Yorick,

Ok then I missunderstood you..sorry. You will still have to do this through the DNS then I guess. But I am not sure that you in the DNS can actually point it to a specfic subsite, you might have to put up a redirection page in the IIS.

I usually create the DNS record before I create the sites, so I have not come across your exact scenario, and I only point to a toplevel site and not a subsite.

It should not be that hard to solve, will look into it a little.

Regards,
Thomas
 
I also thought about a redirect, but then with an ASPX script:

- Create an extra Virtual Server to which I assign all host header names.
- Within this site I create a default aspx file in which I check the hostheader name and based on that redirect the user to the correct teamsite.

CU!

Yorick

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top