Solved

DNS Hosts and IIS

Posted on 2013-11-07
3
156 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 14

Accepted Solution

by:
Giovanni Heward earned 500 total points
Comment Utility
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 14

Assisted Solution

by:Giovanni Heward
Giovanni Heward earned 500 total points
Comment Utility
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
Comment Utility
Thanks i will study these options and till you if it works
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

772 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

11 Experts available now in Live!

Get 1:1 Help Now