[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IIS7.5 Website Redirect Help

Posted on 2014-04-25
3
Medium Priority
?
335 Views
Last Modified: 2014-05-12
I'm not that familiar with IIS, and need some help regarding redirection with a new web application. The website runs fine if I type the full URL with the servername. I'd like to create a friendly/short name which will redirect to the full URL.

For example:

Full URL with servername: http://servername1/directory/directory/directory

Would like to resolve: http://go.publicdomain.com/directory/directory/directory

And ultimately external access in via: http://go.publicdomain.com

ACL's and NAT has already been configured for the external access in, however I'm stuck on the IIS redirect part.

How can I accomplish this?

Thanks!
0
Comment
Question by:ndlf
3 Comments
 
LVL 81

Accepted Solution

by:
arnold earned 2000 total points
ID: 40024541
In IIS create a new site with host header as http://go.publicdomain.com with the home directory as the home directory of the default site which is presumably c:\intepub\wwwroot,
As c:\inetpub\wwwroot\directory\directory\directory

Note you must not reference any contents images, style sheets, objects outside this structure as they will not be accessible with this configuration as this site can only access data below this directory structure.
0
 
LVL 18

Expert Comment

by:Emmanuel Adebayo
ID: 40025010
I believe what you are trying to achieve is someone to enter http://go.publicdomain.com/ and the site redirect to http://go.publicdomain.com/directory/directory/directory i.e allowing access to a web server on an internal network from external

If the above is your scenario, the task is how you configure your NAT to your web.

How did you configure your NAT to the web server?
0
 
LVL 29

Expert Comment

by:Pravin Asar
ID: 40026325
IIS also has a concept of virtual directory.  This is very good for mounting the directories outside the inetpub\wwwroot directory structure.

But based on the description you provided, creating a website (or subdomain website) and appropriate directory pointer should work for you.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month18 days, 21 hours left to enroll

834 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