Solved

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

Posted on 2015-02-10
3
49 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:Iammontoya
  • 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:Iammontoya
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

20 Experts available now in Live!

Get 1:1 Help Now