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

DNS Hosts and IIS

Posted on 2013-11-07
3
165 Views
Last Modified: 2014-03-19
Dear All...
I have many local webapplication that are hosted in different servers and accesses with webpage contating the server name:

http://Server1name.domain/app1
http://Server2name.domain/app2

For security reasons i would like to consolidate all these webapplications to main webpage

http://main.domain/app1 to access the app1
http://main.domain/app2 to access the app2

you can just use the above url directly or go to the main page and click on App1 or App2 links.

What i am succedded to do is to creat the http://main.domain page (without using the server name) , i used Host (A) in DNS and adjusted the IIS but for the rest i dont know how to do them.

Kindlu advice.
0
Comment
Question by:mostabdo
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Giovanni Heward earned 500 total points
ID: 39630140
Options include moving each website folder structure to the central consolidated server, create symbolic links on the central server which point to the original servers, or use iframe tags (e.g. http://main.domain/app1 loads http://Server1name.domain/app1 via iframe, etc.)

mklink /d app1 \\Server1name.domain\x$\path\to\app1
mklink /d app2 \\Server2name.domain\x$\path\to\app2

Open in new window


http://www.w3schools.com/tags/tag_iframe.asp
0
 
LVL 15

Assisted Solution

by:Giovanni Heward
Giovanni Heward earned 500 total points
ID: 39630183
BTW, if you do copy folder structures centrally, or create a symbolic links, you'll need to globally modify the code to point to the new URI for any absolute links.  If coded to use relative links than you're in luck.  It's possible to have the legacy site run side by side with the new until completely tested.  Would recommend iframe first to avoid issues above, or redirect as a second choice, although iframe or redirect wouldn't necessarily address the "security reasons" you're eluding to, in which case you're left with manually migrating.

http://main.domain/app1
<iframe src="http://Server1name.domain/app1"></iframe>

http://main.domain/app2
<iframe src="http://Server2name.domain/app2"></iframe>
0
 

Author Comment

by:mostabdo
ID: 39630283
Thanks i will study these options and till you if it works
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 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