Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNS Hosts and IIS

Posted on 2013-11-07
3
Medium Priority
?
172 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 2000 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

972 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