Solved

IIS7.5 Website Redirect Help

Posted on 2014-04-25
3
320 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 76

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 16

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 28

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

762 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

13 Experts available now in Live!

Get 1:1 Help Now