Solved

IIS7.5 Website Redirect Help

Posted on 2014-04-25
3
327 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
[X]
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
3 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 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 17

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

717 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