Solved

links say thisdomain.org but I want them to redirect to mydomain.org

Posted on 2015-02-10
3
51 Views
Last Modified: 2015-04-29
Basic setup is this:

2 WFEs
1 app
1 DB

there's a web application called staging.mydomain.org  
The DNS entry (the site that everyone actually hits) is called oursite.mydomain.org.

When creating workflows etc.. the hyperlinks always point to staging.mydomain.org.   I would like to make it so that when the user clicks on that link, it actually directs them oursite.mydomain.org/whateverElseWasInTheLink

How do I do this?

Thank you!
0
Comment
Question by:Montoya
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Matthew Borrusso
ID: 40602362
are the oursite.mydomain.org/whateverElseWasInTheLink and the staging.mydomain.org  static urls? My question being if the oursite.mydomain.org was going to be used for multiple customers where it would need to be customized?

if it is static, and you have access to the staging.mydomain.org site, then you can do a simple redirect.

You could create a text file and name it the default.htm and drop it in the root of staging.x:
<HTML>
<HEAD>
...
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://oursite.mydomain.org/whateverElseWasInTheLink">
...
</HEAD>
<BODY>
...
</BODY>
</HTML>

That is if the staging site is dedicated.
This will redirect the browser to the new url. Unlike a cname dns record which keeps the header, this will work with https since the redirect name will also be in the certificate.
0
 
LVL 19

Author Comment

by:Montoya
ID: 40605454
Everything is internal. As for the links being static, well.... not really. What I mean is that the links are generated by workflows, and the links can read with any number of variations. The only that would not change is the domain name, of course.

Examples:

System creates:

http://staging.mydomain.org/IT/sample1.aspx      or
http://staging.mydomain.org/IT/sample3.aspx      or
http://staging.mydomain.org/IT/newpage.aspx 

I want all of those to go to :

http://oursite.mydomain.org/IT/sample1.aspx      or
http://oursite.mydomain.org/IT/sample3.aspx      or
http://oursite.mydomain.org/IT/newpage.aspx 

Does your method accomplish this?
0
 
LVL 3

Accepted Solution

by:
Matthew Borrusso earned 500 total points
ID: 40606479
No. My method would not work here.

When your work flow generates the dynamic url, thats going to be custom. The only thing I can think of to suggest is to see if you application can perform a masquerade domain function.

This way to URL's that are generated would match the oursite.mydomain.org fqdn, then you would just need a cname dns record to point to oursite to staging. it would appear as oursite in the browser.

The trick is the app, if the app gives you no options, there is really no easy way to do this without doing some screwy proxy or ARR type stuff. I dont know if you want to go that route.
0

Featured Post

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.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now