Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Sharepoint 2007 site collection DNS mapping

Posted on 2010-08-16
10
827 Views
Last Modified: 2012-06-22
I want to do a mapping/redirecting of sharepoint site collection within DNS, is it possible?

Description:
I have a webapplication called http://web1.com
Within this web applicaiton i have a site collection http://web1.com/site1.
This site collection is an enhanced version of some other site which had url http://abc.com.

I want that moment any users hit the old url http://abc.com, he should land on our site collection http://web1.com/site1

We have another site collection hosted at root level( http://web1.com) of web application, so we can't just map the url of site collection with IP address, because it will open the root level site collection.

Is there a way to do this by setting some allias to site collection and NOT web application?

I tried exploring the AAM, but it seems to be working at web application level and not site collection level.

My new site collection is already deployed in production, and i do not want to create it as a different webapplication with different name.

Is there a way to do this in DNS?

Regards,
Amit
0
Comment
Question by:navtej_dhillon
  • 4
  • 4
  • 2
10 Comments
 
LVL 7

Expert Comment

by:Ripin
ID: 33444273
No in DNS
use Content Editor Web Part.

1.Add a Content Editor Web Part to the Main Page of the site.
2.Modify the Web Part and click on Source Editor.
3.Paste in the following code while changing the URLs to match your target.
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
<!–
function redirectsp()
  {
    top.location="http://sharepoint";
   }
   if (top.frames.length==0)
    {
     setTimeout('redirectsp()',0);
     }
//–>
</SCRIPT>
</HEAD>

<body>
Redirecting you to the new location.  If you are not redirected, click <a href="http://sharepoint">HERE.</a>
</body>
</html>

4.I set the redirect time to 0, but you can set it higher if you like.  1 sec = 1000, 2 sec = 2000, etc.
5.Save the code changes.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 33445586
You can use host headers for site collections: http://technet.microsoft.com/en-us/library/cc424952(office.12).aspx

Another option is to just make the abc.com site a redirect site in IIS.  Have it redirect requests to your site collection.
0
 
LVL 5

Author Comment

by:navtej_dhillon
ID: 33451808
Unfortunately we do not have access to the previous server on which the older version of site was developed.
Can there be a way to do this by doing some changes in DNS?
Can we set allias name of site to some site collection instead of IP address?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 7

Expert Comment

by:Ripin
ID: 33452429
Cant do in DNS
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 33453769
Nav - why can't you just use a redirect site in IIS.  Point the URL of the old site in DNS to the new server's IP address.  When you set up the redirct site, use the URL of the old site and redirect to the new site in SHarePoint.
0
 
LVL 5

Author Comment

by:navtej_dhillon
ID: 33461652
I am evaluating the feasibility of above approaches with our hosting team.
I will get back with queries around same afer trying these solutions.

Thanks for providing pointers.
0
 
LVL 5

Author Comment

by:navtej_dhillon
ID: 33498174
Unfortunately we won't be able to implement redirect site approach, as we are in the process of eliminating some of older sites within the organization and replacing them with sharepoint site collections.So it will result in having numerous redirect sites in IIS.
Someone recomended using JumpStations, anyone has a clue what a jumpstation is and whether that can be uthilized for our need
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 125 total points
ID: 33500045
Nav - your orginial question asked how to forward abc.com to a SharePoint site at web.com/site1.  You can either use a redirect (either in IIS or javascript/asp script) or you can use host named site collections in SharePoint which allow you to use a URL to get to a site collection that is differennt then the web app URL.  If you have other requirements I suggest you open another question in the IIS forum.

Not really sure how a jump station would apply:  http://www.webopedia.com/TERM/J/jumpstation.html
0
 
LVL 5

Author Closing Comment

by:navtej_dhillon
ID: 33680371
I did got some responses, though nothing is fitting solution for me given special restrictions we have in our environment.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 33680964
LOL!!!  and this was a 125 pt question??
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Web site error 3 44
IIS FTP Logging 10 39
How to install a font on WIN2003SBS/IIS 6 & test 17 32
php exec doesnt works on iis 4 21
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question